Anaplan Connect Automation

Hi,

 

Can someone help me setting the script variables for sending success/error logs via email? I tried the following according to the "Anaplan Connect Enhanced Automation" manual, but got errors that returned that it failed to find the gmail host.

 

Error message: 

Could not conenct to smtp.gmail.com:25

Error: Could not connect to SMTP server "smtp.gmail.com" at port 25

 

-------------------------------------------------------------------

set Domain="gmail.com"
set Smtp="smtp.gmail.com" (also tried "gmail")
set User="xxx@gmail.com"
set Pass="xxx"
set To="xxx@gmail.com"
set From="xxx@gmail.com"
set Subject="Anaplan Connect Status"

@mailsend -domain %Domain% -smtp %Smtp% -auth -user %User% -pass %Pass% -t %To% -f %From% -sub %Subject% -msg-body .\xxx.txt

 

Thanks for your help in advance.

Rumi