cancel
Showing results for 
Search instead for 
Did you mean: 

Send email from SAP using SMTP-AUTH

Former Member
0 Kudos

Dear all,

I would like to send email from SAP to external SMTP server using authenticated method.

Can I set up this scenario with SAPConnect?

Or are there any other methods to set up this scenario?

Thanks, Regards,

Fendhy

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

The implementation of SMTP via TLS and SMTP authentication is contained as of
7.31 Support Package 6 and 7.21 kernel. See SAP Note 1747180 - SMTP via TLS and SMTP authentication

nirmal_konchada
Active Contributor
0 Kudos

Hi,

You can set this up in transction SCOT using SMT server.

http://wiki.sdn.sap.com/wiki/display/Basis/SAPtosendexternalmails

Regards,

Nirmal.K

Former Member
0 Kudos

I cannot find any authentication setting in SCOT.

Where should i set the authentication parameter (User id and password)?

Regards,

Fendhy

nirmal_konchada
Active Contributor
0 Kudos

Hi,

You dont need anu authentication to be set :

Just follow below steps :

Simple steps to do the SMTP configuration :

1. Use transaction SCOT

3. Double Click on SMTP

4. You will get a window and fill in description

5. Tick the "Node in use" box

6. Enter the hostname of the email exchange server

7. Mail port will be 25

8. Click on the button next to Internet called "Set"

9. You will get another window, in the "address area" box, enter *

10. Click the green check button to exit the second window

11. Click the green check button to exit the main window

12. From top menu: Settings -> Default Domain

13. in the small box that appears enter the domain name which is the last part after the @ sign. The domain name would be company.com

14. You need to define a job to process the email, from top menu: View -> Jobs

15. From top menu: Job -> Create

16. Enter a name

17. Click on "INT" in the list then "Schedule job" button

18. Enter start date and time, then click on "Schedule Periodically" button

19. Enter something like every 10 minutes.

20. the configuration is now complete. To test it, you need to have an email defined in your user id properties. Use SU01 for that.

21. Use transaction SO00

22. Put Title, and text in the body, then enter your email address below, the recepient type would be "internet address"

23. After a maximum of 10 minutes you should get the email address.

Regards,

Nirmal.K

Former Member
0 Kudos

The mail server are configured to used smtp-auth.

Which is to send via that mail server should provide eligible credential (username & password).

Regards,

Fendhy

Former Member
0 Kudos

Hi,

To my knowledge there is no way to configure authentication in SCOT.

I think that you need to use a work around : install an intermediate SMTP relay which accepts unauthenticated SMTP connections from SCOT and connects with authentication to the company SMTP server.

Regards,

Olivier

JPReyes
Active Contributor
0 Kudos

As mentioned by Olivier, SAP cannot handle connections to SMTP server using Authentication, You need to use a Relay Agent so the Mail server trusts the mails coming from SAP.

Regards

Juan

Former Member
0 Kudos

Great and exact steps by nirmal for sending mail from SAP.

for me it is sucessfull.