Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

2 different sender email address for sending email in SAP HANA

andychan20
Explorer
0 Kudos
442

Hi,

Can we use 2 different email address for sending email?

For example :

Program A, when user run this program then it will send email using programone@mycompany.com

Program B, when user run this program then it will send email using programtwo@mycompany.com

Thanks,

4 REPLIES 4

raymond_giuseppi
Active Contributor
367

Yes, just set the sender dynamically in your code.

0 Kudos
367

Hi, thanks for your response.

How about SMTP Node, should i make 2 SMTP Node in SCOT?

367

a SMTP note is a link to a SMTP server, you do not want to have several SMTP server, you want to have several sender.

The sender could be specify when you use the class CL_BCS as raymond.giuseppi told you. So just use the correct code (and not the old Function Module)

0 Kudos
367

Thanks all, we finally reached a decision that we will only user 1 sender address. so i will close this