Hi
I want to send email with some other smtp server not by gmail mail so guide me writing the correct smtp and port name
kritika
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Iftikar HussainPosted Aug 27, 2013, 3:45 AM
Sanjeeb LenkaPosted Aug 27, 2013, 3:42 AM
you can try this link. it may help you.
http://www.c-sharpcorner.com/Blogs/11147/send-email-in-Asp-Net-by-your-ip-without-email-id-and-passwo.aspx
kritika RanaPosted Aug 27, 2013, 3:37 AM
Iftikar HussainPosted Aug 27, 2013, 3:34 AM
kritika RanaPosted Aug 27, 2013, 3:33 AM
Iftikar HussainPosted Aug 27, 2013, 3:32 AM
Regards,
Iftikar
kritika RanaPosted Aug 27, 2013, 3:32 AM
Sanjeeb LenkaPosted Aug 27, 2013, 3:29 AM
kritika RanaPosted Aug 27, 2013, 3:28 AM
I tried the link but it is blocked in outlook to view smtp and port name. Is there any other way to know this.
Kritika
Iftikar HussainPosted Aug 26, 2013, 8:15 AM
http://wiki.sportingpulse.com/index.php/Find_your_Outgoing_Mail_Server_(SMTP)_Address
Regards,
Iftikar
kritika RanaPosted Aug 26, 2013, 8:10 AM
Iftikar HussainPosted Aug 26, 2013, 8:06 AM
It is same as gmail, only you need to different SMTP server address and port no. And credentials if it is required.
Regards,
Iftikar
Sanjeeb LenkaPosted Aug 26, 2013, 7:59 AM
refer to this link some smtp server detail list is there.
http://www.c-sharpcorner.com/Blogs/11152/sending-email-with-html-body-in-Asp-Net-and-list-of-smtp-hos.aspx
Abhineet SrivastavaPosted Aug 26, 2013, 7:47 AM
You can do it like this
MailMessage message = new MailMessage(mailfrom, mailto, mailsubject, mailmessage);
message.IsBodyHtml = true;
SmtpClient emailClient = new SmtpClient(ConfigurationManager.AppSettings["SmtpIpAddress"]//Your smtp Id);
try
{
emailClient.Send(message);
}
catch (Exception err)
{ }