Ayres 0 Posted April 24, 2005 How I call software email default passing as parameters the address, the subject and an attached archive? Share this post Link to post Share on other sites
sarkar112 0 Posted April 24, 2005 I have no idea what you mean but search the help file for _INetMail . Share this post Link to post Share on other sites
Ayres 0 Posted April 24, 2005 I have no idea what you mean but search the help file for _INetMail .<{POST_SNAPBACK}>Thanks for reply, but _INetMail dont send attach file. Share this post Link to post Share on other sites
sarkar112 0 Posted April 25, 2005 Thanks for reply, but _INetMail dont send attach file.<{POST_SNAPBACK}>http://www.autoitscript.com/forum/index.ph...wtopic=6871&hl= Share this post Link to post Share on other sites
MSLx Fanboy 0 Posted April 25, 2005 (edited) A simple COM object in VB Script will though VB Code: Set objMessage = CreateObject("CDO.Message") '==Email Settings==' objMessage.Subject = "Test Message" objMessage.Sender = "Anonymous User <bob@anonymous.com>" objMessage.To = "user@domain.com" objMessage.AddAttachment "" objMessage.TextBody = "This is a test message." '==Email Settings Complete==' '==Do Not Edit Below This Line==' '==STMP Server Settings==' objMessage.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 objMessage.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "mail.cait.scps.k12.fl.us" objMessage.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = cdoNone 'can also be Basic or NTLM objMessage.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25 objMessage.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60 objMessage.Configuration.Fields.Update '==SMTP Server Settings Complete==' objMessage.Send Edited April 25, 2005 by MSLx Fanboy Writing AutoIt scripts since _DateAdd("d", -2, _NowCalcDate()) Share this post Link to post Share on other sites