Client Emails
-
Hi.. I have two questions about client emails: The First question : How could i call mailto in code-behind page to run mailto dynamically and to pass to it the SUBJECT and the BODY(as string variables). The Second : How could i make my web application infroms the client that i (WebSite Administrator) have received his message dynamically. Please help me i need the answers for these questions to complete my website design.:((
-
Hi.. I have two questions about client emails: The First question : How could i call mailto in code-behind page to run mailto dynamically and to pass to it the SUBJECT and the BODY(as string variables). The Second : How could i make my web application infroms the client that i (WebSite Administrator) have received his message dynamically. Please help me i need the answers for these questions to complete my website design.:((
Is this what you mean by your first question :
[tell a friend](mailto:someone@somewhere.com?subject=look at this website&body=Hi, I found this website and thought you might like it http://www.geocities.com/wowhtml/)
?? -- modified at 9:22 Monday 27th March, 2006 -
Is this what you mean by your first question :
[tell a friend](mailto:someone@somewhere.com?subject=look at this website&body=Hi, I found this website and thought you might like it http://www.geocities.com/wowhtml/)
?? -- modified at 9:22 Monday 27th March, 2006I meant something like this: string to=TextBox1.Text; string subject=TextBox2.Text; string Body=TextBox3.Text; Response.Redirect("mailto:"+to+"?SUBJECT="+subject+"&BODY="+body); But this Redirect doesnt work as i expected. if this work there will be no need to click a link.
-
I meant something like this: string to=TextBox1.Text; string subject=TextBox2.Text; string Body=TextBox3.Text; Response.Redirect("mailto:"+to+"?SUBJECT="+subject+"&BODY="+body); But this Redirect doesnt work as i expected. if this work there will be no need to click a link.
use them SmtpMail namespace. Mail is an object not a web page. putting the word "mailto:" inside and <a> anchor tag will tell the browser to use the default mail client But, spybots will surely find it and send spam to the mailer in question. Nick 1 line of code equals many bugs. So don't write any!!
-
use them SmtpMail namespace. Mail is an object not a web page. putting the word "mailto:" inside and <a> anchor tag will tell the browser to use the default mail client But, spybots will surely find it and send spam to the mailer in question. Nick 1 line of code equals many bugs. So don't write any!!
I want to let Clients send messages to me.I made a webform that helps them to build a message(by choosing available requests from Dropdown Lists)Could i use SmtpMail to perform this?. If you sign up in my website and then click Send a request Button or add this project to my Request Account you will see the webform that should build the client request message and send it to my email. my WebSite URL:www.engineeringprojects.net The Send the Request Button is not working and the WebSite's Database is not complete yet..Sorry for that..but i will try to complete it after i find a solution for this problem.