dolphins Posted May 22, 2023 Posted May 22, 2023 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 Skeletor Posted May 22, 2023 Solution Posted May 22, 2023 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 RegardsSkeletor "Coffee: my defense against going postal." Microsoft Office Splash Screen | Basic Notepad Program (Beginner) | Transparent Splash Screen | Full Screen UI
dolphins Posted May 22, 2023 Author Posted May 22, 2023 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?
genius257 Posted May 22, 2023 Posted May 22, 2023 (edited) Hi @dolphins. Here is the download link: Please note that _INETSmtpMailCom has been renamed to _SMTP_SendEmail Edited May 22, 2023 by genius257 Added note To show your appreciation My highlighted topics: AutoIt Package Manager, AutoItObject Pure AutoIt, AutoIt extension for Visual Studio Code Github: AutoIt HTTP Server, AutoIt HTML Parser
Developers Jos Posted May 22, 2023 Developers Posted May 22, 2023 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now