Jump to content

Cannot send email through smtp


HPLife

Recommended Posts

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.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...