Click here to Skip to main content
15,907,281 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a design a contact us form using asp.net controls. i want to when user click on submit button...then send same asp.net formatted form to admin. My problem is, i am unable to implement how can i send same design form in email....pl'z any one guide me.
Posted

1 solution

Sorry, it's not good to answer the same question again and again. Better look here: http://www.codeproject.com/search.aspx?doctypeid=5&q=ASP.NET+send+mail[^].

There is a big danger is such code: if you use your form data for composing mail without thorough precautions, it's really easy to turn your host into zombie sending spam or other malicious content. This is an easy target to injection kind of exploit.

For detail, please see my past answer:
unable to send mail , it showing the error in below code .[^].

—SA
 
Share this answer
 
Comments
Sumit_Kumar_Sinha 29-Jan-13 2:44am    
My problem is not sending the mail...........i want to send the mail in same asp.net design format, which is filled by the user.
Sergey Alexandrovich Kryukov 29-Jan-13 2:45am    
Of course... what's wrong with it; only check up all the data before sending.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900