Monday, March 26, 2012

smtp server

Hi, i want to send email from my web site and i want to send it to an gmail or yahoo account. What is the string that i have to put in the Smtpserver property?? i have tried whit smtp.gmail.com and smtp.correo.yahoo. es and it doesn′t work. I don′t use any email manager like outlook or fedora.
Thanks

As I already answered in a previous thread (http://forums.asp.net/thread/1281448.aspx) Gmail requires SSL and authentication, and according to bug described athttp://www.systemnetmail.com/faq/4.5.aspx, SSL with authentication will not work with System.Net.Mail. I also stated that in order to use Yahoo! you need to pay for Premium Service. So, unless you use another SMTP server or pay for Yahoo! Premium Service, it's not going to work.

Ryan


ahappyplumber:

Hi, i want to send email from my web site and i want to send it to an gmail or yahoo account. What is the string that i have to put in the Smtpserver property?? i have tried whit smtp.gmail.com and smtp.correo.yahoo. es and it doesn′t work. I don′t use any email manager like outlook or fedora.
Thanks

Whats your webhost? try using your webhost smtp server.


sorry, but what is the smtp server name of hotmail??
thanks

ahappyplumber:

sorry, but what is the smtp server name of hotmail??

Hotmail uses HTTP to send email, so you're probably out of luck. However, mx1.hotmail.com is the address of the Hotmail SMTP server, so it wouldn't hurt to give it a try.

Ryan


You need to have permission to relay email through whatever SMTP server you use. You can't just guess at it. Your ISP is the first place to check. You might need to setup an account that you will use in the "FROM" field - or you might just use your own email address. If anybody could send email through any SMTP server, SPAM would be 1,000 times worse than it already is. ( this is called an Open Relay)
Your only choices are..
1. Your ISP that the server is running on.

2. You set up your own email server that delevers to the domain using MX records. IIS has a SMTP server that can do this. You will need to configure it so that your server can relay through it

3. You purchase an email service (Like GoDaddy.com email account) thatallows SMTP relaying. ( Godaddy has a 250 message limit for relaying -prevents spam)

0 comments:

Post a Comment