Click here to Skip to main content
15,067,539 members
Please Sign up or sign in to vote.
1.80/5 (2 votes)
See more:
please somebody help me how to create a contact us form using asp.net c#.

we add any receiver email not connected gmail


for example
Send Mail / Contact Form using ASP.NET and C#[^]


I don't want gmail connect with contact form.
Posted
Comments
aarif moh shaikh 21-Sep-15 6:08am
   
Just replace HostName & Port No. where you want to sent

1 solution

So just replace the Host and port information with your local email server info.
Here's another way to send email: Sending an Email in C# with or without attachments: generic routine.[^] - It's the one I use on my site.
   
Comments
[no name] 21-Sep-15 5:33am
   
where is asp.net code files
[no name] 21-Sep-15 5:36am
   
this answer is not helpful for me? please somebody solve my problem.

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