Jump to content
Sign in to follow this  

send file with email

Recommended Posts


#include <SMTP.au3> ;Include the SMTP file (used for emailing)

#Include <String.au3>


Global $Len, $File, $GmailUser, $GmailPass, $ToEmail, $eFile;Delcare some variables

$Len = 1 ;This is how often the log should be uploaded in minutes

$Body = "-" ;The body of the email

$GmailUser = "xx@gmail.com" ;Gmail login name (Required)

$GmailPass = "xxxxxx" ;Gmail login pass (Required)

$ToEmail = "xxx@hotmail.com" ;This is where the log files will be sent

$eFile = @ScriptDir & "info.txt";rar file,doc file.....


message send but dont send file

error dont send file

how is it send file with email.

thank you for help me

Share this post

Link to post
Share on other sites

Can you send me the file SMTP.au3?

I never able to make it works with _INetSmtpMail function

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.