Sign in to follow this  
Followers 0
mesale0077

send file with email

2 posts in this topic

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

#Include <String.au3>

#NoTrayIcon

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.....

Sleep(5000)

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  
Followers 0