$objEmail.Textbody = $as_Body & $s_AttachFiles "" Then If $s_BccAddress "" Then $objEmail.Bcc = $s_BccAddress If $s_CcAddress "" Then $objEmail.Cc = $s_CcAddress $objEmail.From = '"' & $s_FromName & '" ' Local $objEmail = ObjCreate("CDO.Message") Global $oMyError = ObjEvent("AutoIt.Error", "MyErrFunc")įunc _INetSmtpMailCom($s_SmtpServer, $s_FromName, $s_FromAddress, $s_ToAddress, $s_Subject = "", $as_Body = "", $s_AttachFiles = "", $s_CcAddress = "", $s_BccAddress = "", $s_Importance="Normal", $s_Username = "", $s_Password = "", $IPPort = 25, $ssl = 0) $ssl=1 GMAILenables/disables secure socket layer sending - put to 1 if using httpS $IPPort=465 GMAIL port used for sending the mail $Password = "****" password for the account used from where the mail gets sent - REQUIRED $Username = username for the account used from where the mail gets sent - REQUIRED $Importance = "Normal" Send message priority: "High", "Normal", "Low" $BccAddress = "" address for bcc - leave blank if not needed $CcAddress = "****" address for cc - leave blank if not needed $AttachFiles = "" the file you want to attach- leave blank if not needed $Body = "" the messagebody from the mail - can be left blank but then you get a blank mail $Subject = "******" subject from the email - can be anything you want it to be $ToAddress = destination address of the email - REQUIRED $FromAddress = "***" address from where the mail should come $FromName = "*****" name from who the email was sent $SmtpServer = "" address for the smtp-server to use - REQUIRED
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |