SMTPSendMail on Windows Server with SSL

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
olllllliii
Pro Scripter
Posts: 60
Joined: Tue Dec 22, 2009 9:51 am
Location: Mannheim ( Germany )
Contact:

SMTPSendMail on Windows Server with SSL

Post by olllllliii » Mon Oct 02, 2017 1:15 pm

SMTPSendMail SSL on Windows Server 2016 Builddate 03.06.2017

Let>output=Mydatatosend
Let>SMTP_AUTH=1
Let>SENDMAIL_STATUS=1
Let>SMTP_USERID=[email protected]
Let>SMTP_PASSWORD={"ThePassword"} // Not the real PW
Let>SMTP_PORT=25

Let>SMTP_SSL=0

SMTPSendMail>%ZielMail%,mx1.caconnect.de,[email protected],KIT-CBackup V1.0.4,Backup %Kundenname%,output,

if i use Let>SMTP_SSL=1 it does not work on this Server ( All Ports are open no additional Firewall rules ) this code works on all
other Servers & Clients fine for me . I Can connect with telnet perfectly to our Server Port but if i use SSL it doesnt work.

Do u have an Idea how i can solve this ? Same if i start it with Administration rights

Kind regard
Olllllliii
Oliver Hilger Mannheim
alias Olllllliii

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: SMTPSendMail on Windows Server with SSL

Post by Marcus Tettmar » Mon Oct 02, 2017 2:35 pm

If it's working on other machines but not this one could it be that you don't have the OpenSSL binaries on this server? Look in the Macro Scheduler program folder for libeay32.dll and ssleay32.dll
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

User avatar
Djek
Pro Scripter
Posts: 148
Joined: Sat Feb 05, 2005 11:35 pm
Location: Holland
Contact:

Re: SMTPSendMail on Windows Server with SSL

Post by Djek » Mon Oct 02, 2017 10:23 pm

hi Oliver,

try port 587

kind regards,
Djek

olllllliii
Pro Scripter
Posts: 60
Joined: Tue Dec 22, 2009 9:51 am
Location: Mannheim ( Germany )
Contact:

Re: SMTPSendMail on Windows Server with SSL

Post by olllllliii » Wed Oct 04, 2017 2:20 pm

Thank you Marcus,

i placed both missed files into a folder & now it works fine for me. Thank you for your fast support :D
Oliver Hilger Mannheim
alias Olllllliii

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts