Jump to content

Send E-Mail with TLS protocol and Port


Go to solution Solved by Skeletor,

Recommended Posts

Posted

Hi!

I am using _INetSmtpMail to send E-Mails. Now I would like to switch to a more secure SMTP server that is using TLS. Is it possible to send E-Mails using TLS protocol and also giving a port number in AutoIt. How?

Regards
Dolphins

  • Solution
Posted

Try this?

Below code is from this post by a developer named @Jos

local $resp = _INetSmtpMailCom($s_SmtpServer, $s_FromName, $s_FromAddress, $s_ToAddress, $s_Subject,      $s_Body,      $s_AttachFiles,      $s_CcAddress,      $s_BccAddress,                                $s_Username,      $s_Password, $s_IPPort, $s_SSL, $s_bIsHTMLBody, $s_iDSNOptions)
Func          _INetSmtpMailCom($s_SmtpServer, $s_FromName, $s_FromAddress, $s_ToAddress, $s_Subject = "", $s_Body = "", $s_AttachFiles = "", $s_CcAddress = "", $s_BccAddress = "", $s_Importance = "Normal", $s_Username = "", $s_Password = "", $IPPort = 25, $bSSL = False, $bIsHTMLBody = False, $iDSNOptions = $g__cdoDSNDefault)

and read this post  just incase. 

Kind Regards
Skeletor

"Coffee: my defense against going postal."

Microsoft Office Splash Screen | Basic Notepad Program (Beginner) | Transparent Splash Screen | Full Screen UI

Posted

Thanks for your answer. But: _INETSmtpMailCom is not listed in the help file. I just downloaded 3.3.16.1

In the inet.au3 it is also not included. So where can I get _INETSmtpMailCom from, so that I can use it?

  • Developers
Posted

Nah that isn't my original examples post! ;)  

27 minutes ago, genius257 said:

Please note that _INETSmtpMailCom has been renamed to _SMTP_SendEmail

Nah it is not in the original!

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...