Skrip Posted December 18, 2005 Share Posted December 18, 2005 how can I have like a file (Example: C:\test.txt) and send to to my e-mail (test@test.com) [left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left] Link to comment Share on other sites More sharing options...
Valuater Posted December 18, 2005 Share Posted December 18, 2005 i went through this same idea... i did alot of researchhttp://www.autoitscript.com/forum/index.ph...&hl=objMessage#i ended up using the one from MSLx fanboygood luck8) Link to comment Share on other sites More sharing options...
Skrip Posted December 18, 2005 Author Share Posted December 18, 2005 thanks but how do I send a file with the e-mail? [left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left] Link to comment Share on other sites More sharing options...
Valuater Posted December 18, 2005 Share Posted December 18, 2005 (edited) because asked asked about..c:\test.txtthe first example was bmailthus$S_Text_Body = Fileread(?your?file?name?, getsize(?your?file?name?))for the next exampletext-body = Fileread(?your?file?name?, getsize(?your?file?name?))if you want to send other pic..etc attachmentsthey will do it but i dont know how ( as yet )and you can also use the built-in command_INetMail --------------------------------------------------------------------------------Opens default user's mail client with given address, subject, and body.#include <INet.au3>_INetMail ( $s_MailTo, $s_MailSubject, $s_MailBody ) Parameters$s_MailTo Address for the E-Mail $s_MailSubject Subject for the E-Mail $s_MailBody Body for the E-Mail look for this in help8) Edited December 18, 2005 by Valuater 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