Jump to content

automate gmail under Xp


Recommended Posts

We want to automate gmail under Xp.

I have read the sample scripts forum but don't know where to start.

I don’t know if this is the correct place to ask this. Redirect me if not.

We have written many simple bat files and simple macros.

We prepare xray reports using several programs under Windows Xp and have been able to do the following manually.

We have created and saved for example 15 xray reports in folder C:\clinicA

we open the folder C:\clinicA\ and select all

right click and send to compressed (zip) file.

We then start gmail to clinicA, attach the zip as an attachment, and send the email.

Question

How to automate some or all of this process ?

Link to comment
Share on other sites

to test the script from link, testing gmail to send 2 files on hotmail ,

$SmtpServer = "smtp.gmail.com"              ; address for the smtp-server to use - REQUIRED
$FromName = "MyNameIs"                      ; name from who the email was sent
$FromAddress = "xxxxx@gmail.com" ; address from where the mail should come
$ToAddress = "xxxxx@hotmail.com"   ; destination address of the email - REQUIRED
$Subject = "Userinfo"                   ; subject from the email - can be anything you want it to be
$Body = "testing it"                              ; the messagebody from the mail - can be left blank but then you get a blank mail
$AttachFiles = "data.txt;medianis.txt"                       ; the file(s) you want to attach seperated with a ; (Semicolon) - leave blank if not needed
$CcAddress = ""       ; address for cc - leave blank if not needed
$BccAddress = ""     ; address for bcc - leave blank if not needed
;~ $CcAddress = "CCadress1@test.com"       ; address for cc - leave blank if not needed
;~ $BccAddress = "BCCadress1@test.com"     ; address for bcc - leave blank if not needed
$Importance = "Normal"                  ; Send message priority: "High", "Normal", "Low"
$Username = "xxxxx@gmail.com"                    ; username for the account used from where the mail gets sent - REQUIRED
$Password = "xxxxx"                  ; password for the account used from where the mail gets sent - REQUIRED
$IPPort=465                          ; GMAIL port used for sending the mail
$ssl=1                               ; GMAILenables/disables secure socket layer sending - put to 1 if using httpS

and after editing needed info, (username pass attachment) hit F5 to start the script and test it

Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

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