on 06-10-2016 2:46 PM
Hi All,
I have a requirement to send a mail, when ever the job fail. I tried with smtp_to() and Mail_to() function but with both i am unable to send mail, I configured the sender and server info in DS server manager. but still not able to send the mail. I need to send mail to the customer gmail. What are else configurations i need to do. can any one please help me.
I followed the Note1573029
but at fourth step i am facing an issue as the user is not authenticated to send anonymous mail.
Thanks
PrasannaKumar
Hi Prasanna,
In order to send mails, your server requires authentication It is caused due to SMTP relay rights on Exchange server.
During configuration of SMTP Virtual Server, under Access tab there's a Relay option, try Granting permission for your server their.
Also, while configuring for Gmail Exchange Server under DS Server Manager, provide details like Port, TLS/SSL details too.
Regards,
Himanshu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
where should i need to mention the port, TLS/SSL details in the DS Server Manager?? If u can provide any video or doc link, it will be more helpfull for me.
Thanks
PrasannaKumar
Hi Prasana,
If you want to send Job fail notifications, take a script in Catch block and use smtp_to() function to send job fail alerts.
Mail_to() doesn't work in your case as mail_to() is used to send mails to within client\company server only.
smtp_to() function is used to send mails within the server and outside the server also.
write the syntax correctly.
use this below link for configuration settings and for more information.
https://scn.sap.com/thread/1971947
Thanks,
Ravi kiran.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.