Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.
#include <INet.au3> #AutoIt3Wrapper_icon=alert.ico $begin=MsgBox(0x4, "Alert)", "Are you sure you want to proceed?") if $begin = 7 then exit $s_SmtpServer = "mail1" $s_FromName = "Emergency" $s_FromAddress = "firstname.lastname@example.org" $s_ToAddress = "email@example.com" $s_Subject = "********* EMERGENCY ALERT *********" Dim $as_Body $as_Body = "Attention all employees. An emergency has taken place that requires evacuation of the building," $as_Body = "please proceed in an orderly fashion to the safest exit. Thank you" $Response = _INetSmtpMail ($s_SmtpServer, $s_FromName, $s_FromAddress, $s_ToAddress, $s_Subject, $as_Body, @ComputerName, -1); $err = @error
Join the community of 500,000 technology professionals and ask your questions.