Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Sending Emails and SIW Keeps Using Outlook
#1

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?
Reply
#2

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




Users browsing this thread: 1 Guest(s)