HPLife Posted May 24, 2011 Share Posted May 24, 2011 Hi, I have a domain hplife.net on heliohost and have a asp.net web application. When try to send email using System.Net.Mail.SmtpClient from the web app, it always fails. I tried following smtp servers: 1. smtp.gmail.com with port 587 and ssl with an gmail account and its password. The exception message is "Message could not be sent". The gmail account username and password is correct. 2. mail.heliohost.org with port 25 and no ssl. The exception message is "535 Incorrect authentication data". I used an email address weplay@hplife.net and its password. This email account is created through cpanel.hplife.net. 3. mail.heliohost.org with port 465 and ssl. I was not able to get exception message because the limitation of my web app code. Can you let me know: 1. if sending email through gmail is allowed? 2. if I use mail.heliohost.net, what port numbers are supported? Can you use weplay@hplife.net email account and its password for authentication? Is there any additional steps I need to configurate my environment through cpanel? thank you very much. Quote Link to comment Share on other sites More sharing options...
Guest Geoff Posted May 24, 2011 Share Posted May 24, 2011 Try sending mail to localhost. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.