12-07-2015, 07:50 AM
Hi guys.
I have recently created a batch script to run a report and then email that same report to myself.
Upon trying to test this, it fails to use the credentials\server address I enter. It then proceeds to open Outlook and send using the default MAPI client.
Here is my code -
START .\SIW.exe /log:txt=.\Assets\Report.txt /email=*****@*******.com.au
/subject="Message from test"
/body="Report for Test"
/smtp=smtp.gmail.com:465 /smtpUser=*******@gmail.com /smtpPass=***** /smtpSecurity=SSL
/silent /s:1073741829 /h:2970 /n:1
Have I missed something?
I have recently created a batch script to run a report and then email that same report to myself.
Upon trying to test this, it fails to use the credentials\server address I enter. It then proceeds to open Outlook and send using the default MAPI client.
Here is my code -
START .\SIW.exe /log:txt=.\Assets\Report.txt /email=*****@*******.com.au
/subject="Message from test"
/body="Report for Test"
/smtp=smtp.gmail.com:465 /smtpUser=*******@gmail.com /smtpPass=***** /smtpSecurity=SSL
/silent /s:1073741829 /h:2970 /n:1
Have I missed something?