<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>12 Apr 2016 19:46:56 Z</lastBuildDate><pubDate>12 Apr 2016 19:46:56 Z</pubDate><description>Hello,&#13;
&#13;
please do you have any experience with sending emails using in house email server?&#13;
&#13;
I can send email without problems when I use external SMTP server address, like "smtp.company.com" or similar but when I try to use in house email server it does not work.&#13;
&#13;
This is the command where I receive error.&#13;
&#13;
[code:wl]&#13;
EmailStartSMTPSession(gclLoginData.EmailLogin, gclLoginData.EmailPassword, ...&#13;
		 sSMTPserverAddress, 465, False, optionSSL)&#13;
[/code]&#13;
- if sSMTPserverAddress=&lt;DNS name of server&gt; I get timeout error&#13;
&#13;
- if sSMTPServerAddress=&lt;IP address of server&gt; I get error IMMEDIATELLY&#13;
"SMTP Session: connection failed. No server response. Security errors detected while implementing the communication."&#13;
Error code: 100042&#13;
System error mesasage: Target main name is not correct.&#13;
&#13;
it happens in ClientHandshakeLoop in wd200com.dll&#13;
&#13;
I find it strange that if I change address of email server from DNS name to IP address I get different behaviour and different errors.&#13;
&#13;
Outlook works fine with IP address (192.168.1.6) and it does not work with DNS name either so there is probably some LAN limitation regarding DNS name. DNS name is just LAN DNS name of PC, like MAIL_SERVER_1.&#13;
&#13;
&#13;
&#13;
I will appreciate any hints.&#13;
&#13;
Thank you&#13;
&#13;
Petr</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57274-send-email-using-house-email-server/read.awp</link><title>Send email using in house email server</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster></channel></rss>
