Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: Send Email SSL TLS Gmail
strHost = 'smtp.gmail.com' ;!!!!!!!!! MODIFY TO FIT YOUR NEEDS !!!!!!!! strTo = 'soandso@gmail.com' ;!!!!!!!!! MODIFY TO FIT YOUR NEEDS !!!!!!!! strFrom = 'soandso@gmail.com' ;!!!!!!!!! MODIFY TO FIT YOUR NEEDS !!!!!!!! strSubject = 'Sample Postie Email' ;!!!!!!!!! MODIFY TO FIT YOUR NEEDS !!!!!!!! strBody = '<HTML><HEADER></HEADER><BODY>Hello World!</BODY></HTML>' ;!!!!!!!!! MODIFY TO FIT YOUR NEEDS !!!!!!!! strUser = strFrom ;!!!!!!!!! MODIFY TO FIT YOUR NEEDS !!!!!!!! strPassword = 'SuperSecret' ;!!!!!!!!! MODIFY TO FIT YOUR NEEDS !!!!!!!! strAttachment = 'c:\myfile.txt' ;!!!!!!!!! MODIFY TO FIT YOUR NEEDS !!!!!!!! strFlag = 'eh' AddExtender("WWPST44I.DLL") kInit(strHost, strFrom, strUser, strPassword, '25', 'TLS' ) kDest(strTo,'','') ret = kSendText(strSubject, strBody, strAttachment, strFlag) If ret == 0 errline = kStatusInfo() ClipPut(errline) Message("ErrLine",errline) EndIf Exit
Article ID: W17594
Filename: Postie Send Gmail.txt
File Created: 2014:03:12:13:42:40
Last Updated: 2014:03:12:13:42:40