SmtpClient / PopsClient / ImapClient Host fail to connect with IP Address

Hi,

One of our customer, the mail servers on board on vessels DO NOT have a “name” as its part of the Satellite
Service Provider infrastructure, just an IP Address.
Seeking for your support to find out why Host name is not accepting IP Address?

Testing result on our R&D tool (as attached), as following:

Testing smtp connection with Aspose Mail…
Connecting to the SMTP server with Server(smtp.office365.com), Port(587), Enable SSL(True), StartTLS(True), Username(lee-yang.lee@bassnet.no) …
smtp Server is connected.
Testing e-mail has sent to [erilylee@gmail.com]


Testing smtp connection with Aspose Mail…
Connecting to the SMTP server with Server(111.221.115.98), Port(587), Enable SSL(True), StartTLS(True), Username(lee-yang.lee@bassnet.no) …
smtp Server fail to connect with error
Failure sending mail.


Testing IMAP connection with Aspose Mail…
Connecting to the IMAP server with Server(outlook.office365.com), Port(993), Enable SSL(True), StartTLS(False), Username(lee-yang.lee@bassnet.no) …
IMAP Server is connected.

Testing IMAP connection with Aspose Mail…
Connecting to the IMAP server with Server(111.221.115.98), Port(993), Enable SSL(True), StartTLS(False), Username(lee-yang.lee@bassnet.no) …
IMAP Server fail to connect with error
NameResolutionFailure



<!–[if gte mso 10]>

/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman",serif;}

<![endif]–>

Hi,


Thank you for writing to Aspose support team. These issues are re-produced and logged as follows:

EMAILNET-38463: SmtpClient raises exception while connecting to IP address
EMAILNET-38464: ImapClient raises exception while connecting to IP address
EMAILNET-38465: Pop3Client raises exception while connecting to IP address

You will be automatically notified once any update is received in this regard.

Hi,


Please try ignoring or bypass the server side certificate to avoid this issue as shown in our documentation article.