Link to home
Start Free TrialLog in
Avatar of Mahmoud Noubani
Mahmoud Noubani

asked on

How to configure sending emals using SMTP in scrips file

I have a script file that for taking hot backup and it's send emails when it's done, i need to enable the SMTP.

This is the email configuration line :

blat.exe F:\body.txt -to eample@test.com -subject "Svn backup" -attach F:\backup_log_%current_date%.log

exit
ASKER CERTIFIED SOLUTION
Avatar of Gerwin Jansen
Gerwin Jansen
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
also you might need to add sender details and all this will only work if smtp server is configured in your environment.
get in touch with your exchange administrator, he should be able to provide you all those details.