on 11-18-2019 3:30 PM
Dear experts,
Is it possible to send emails from a dynamic user domain address?
Currently I have defined a gmail email address that is stored in the Security Material section. What I was expecting when the email is being send is to take the email provided in the mail attributes at the "From:" field. Unfortunately it takes the one defined in the credential name.
Is there any way to customize the email adapter so that I can send it from the mail attribute field"From" , and not from the mail inside the credential name.
Thanks in advance!
Hello Alexandru,
I have tried with customers SMTP server and it does take the From address from mail adapter only( not from Credentials ).For gmail this behavior is bit different i think you should follow below to get custom email address dedicated for sending your emails and then try to associate the same with SAP CPI mail connector.
https://www.lifewire.com/send-mail-from-a-custom-email-address-with-gmail-1172019
Regards,
Sriprasad Shivaram Bhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check email configuration server with the owners.
You can retrieve, using groovy script, email from secure parameter and then include like property in email parameter ( FROM).
Depending of email configuration server you are available to configure your own email or not. Sometimes authentication is done with one email and mail adapter send another, other is the same and fewer times is possible to include one free. Last option i have used for email notifications with one unknown and generic email. Usually admin doesn't allow to do that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alexandru,
Please find below the standard document for more details.
Hope this helps,
thanks and regards,
Praveen T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for taking the time Praveen, but this doesn't answer my question. I read the documentation and I was expecting for it to function as it is written there.
The problem was why even though I am providing a parameter in the FROM field, it is not taking it into account ,but instead it is taking the email address from the Credential Name.
Has anybody confronted with this issue before?
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.