Request clarification before answering.
Hi ShivRam,
please refer below link and SAP article for your reference.
https://document748.rssing.com/chan-14313668/all_p19.html
1719365 - Issues using the smtp_to function - Data Services
1573029 - How to Send Email Through a Command Line to Verify Connectivity to the SMTP (Email) Server From BI Platform
Regards
Daya Jha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ShivRam,
Couple of points, before you proceed for SMTP setup.
Once all done, check connectivity setup using below command
telnet <source ip address of smtp/SMTP Name> <port number> for e.g. telnet email-smtp.eu-west1.amazonaws.com 25
I hope this will help!!!
Regards,
Daya Jha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jeremy & Daya,
Thanks for your reply. Earlier I have tried with smtp function only by doing all the pre-requisites to enable the functionality. we have set up smtp server settins as in BODS Server manager as per blog (https://blogs.sap.com/2015/10/26/sap-data-services-mailing-functionality/).
I am able telnet smtp server & even able to send mails from PowerShell/Linux os level.
But when trying to same using scripts getting below error that is the reason I though of using PowerShell but not sure on how to trigger it using bods.

As per SAP not they are asking to install any third party smtp client so just wanted to check if any of you have installed any TP. It will be good to know which third party tool I should go as I dont see any recommendation from SAP in reply.
Thanks, Parijatam
Hi there.
Data Services has a built in smtp_to function that you can utilize. It leverages the settings configured on your database server, If you have 'database mail configured' on a sql server. The below option should work for you. Here's a link explaining how it's configured (SAP Data Services – Mailing Functionality)
Within your Application Server, go to your SAP Data Services Server manager and under the miscellaneous tab, configure your smtp settings and apply.

Within your script you click on the function button and select the system options.
Select smtp_to and enter relevant details.

Hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 5 | |
| 5 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.