SIW Support Forum

Full Version: Sending Emails and SIW Keeps Using Outlook
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
(12-07-2015, 07:50 AM)BroncoEmpire Wrote: [ -> ]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?
Please test it without START, without /silent and with absolute path for report (not the relative .\Asserts\...); all arguments should be on one line.