Note that there are some explanatory texts on larger screens.

plurals
  1. POCant connect/send from hMailServer
    primarykey
    data
    text
    <p>I have recently setup hMailServer.</p> <p>I have a domain on godaddy so I am using the MX record given by godaddy. For this example, I am going to say that I am using <em>mail.hmailserver.net</em> as the MX Record.</p> <p>I have added the username and password under SETTINGS > Protocols > SMTP on hMailServer Administrator, and so I have the following configured.</p> <p><img src="https://i.stack.imgur.com/nY07j.png" alt="enter image description here"></p> <p>I have added an "inbound" firewall rule that opens up Port 25 to make sure that the port is not being blocked.</p> <p>I can ping my MX record and it will resolve the IP fine, but yet if I try to use the following telnet command, I am unable to connect</p> <pre><code>telnet mail.hmailserver.net 25 </code></pre> <p>It tells me it is unable to connect.</p> <p>Initially I was using a simple client application to test this, and I believed it might have been in my code that was causing the problem, but now I am thinking I have something configured incorrectly.</p> <pre><code>public static void Main(string[] args) { MailMessage message = new MailMessage(); message.From = new MailAddress("fromemail@email.com"); message.To.Add("toEmail@email.com"); message.Subject = "Test Subject"; message.Body = "Test Body"; SmtpClient client = new SmtpClient(); client.Host = "mail.hmailserver.net"; client.Port = 25; NetworkCredential login = new NetworkCredential("Administrator", "Password"); client.Credentials = login; try { client.Send(message); } catch (Exception exception) { Console.WriteLine(exception.Message); } } </code></pre> <p>Any ideas if I am doing it incorrectly from the screenshot above? Eventually this will be sending emails from a hosted application in IIS, I am not sure if that makes a difference.</p> <p>Please Help.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload