Ayres Posted April 24, 2005 Posted April 24, 2005 How I call software email default passing as parameters the address, the subject and an attached archive?
sarkar112 Posted April 24, 2005 Posted April 24, 2005 I have no idea what you mean but search the help file for _INetMail .
Ayres Posted April 24, 2005 Author 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.
sarkar112 Posted April 25, 2005 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=
MSLx Fanboy Posted April 25, 2005 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())
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