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