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.
Showing results for 
Search instead for 
Did you mean: 

Sending Mail from SAP to External Source

Former Member
0 Kudos

Hi Experts,

We are on ECC 6.0. I have configured the standard SAP system for

sending mails from within SAP to our company mail server. The

mails from SAP are going successfully to our official company

ids, But when i am trying to send mails to outside address like

eg. " email@removed " or " email@removed ", it is not going and

giving an error recipient unknown.

The configuration of SAPConnect is correct because mails are

going successfully to our company id, to send outside do i need

to do something extra???


Active Contributor
0 Kudos

This may be a network issue.

Some hints/questions to ask yourself and/or your network admins:

Is your company mail server (the address you use) within the local network?

If so, will your network firewalls allow outgoing SMTP traffic from your application server?

Can your application server resolve the domain names for the mail addresses?

If all mails are sent to or throug your company mail server, is that server set up to relay the mails for other addresses? Most mailservers will not relay in order to avoid spam abuse.

Maybe you can try (or have a sysadmin try) to send mails directly from your application server's O.S./shell to the outside world and start debugging from there. I've known mail issues to be the worst kind (as a unix sysadmin).

Good luck!


Former Member
0 Kudos


You could try the following -

Goto transaction SCOT.

Select the node for SMTP (or whatever node is configured for sending mails) and display/change 'general node data".

Set the addresses for the Internet (supported address type).

On the resulting screen add the address area "email@removed" or " *@removed".



Former Member
0 Kudos


Please enable the relay permission on Exchanger for the SAP server.



0 Kudos

Hi ATGBasis ATGBasis ,

Please explain more clearly, how to enable the relay permission on Exchanger for the SAP server.



Edited by: Sinhto on Jul 10, 2008 8:35 AM

0 Kudos

Hi Sinhto,

I am facing the same problem i.e. i can send mails from SAP to my company address but cannot send it to external mail id's like emailid@yahoo or emailid@gmail.

Did you get solution to your problem. If yes then please share it.



0 Kudos


Please contact with Network administrator of your company, request him enable the replay permission on Exchanger. (Because of security, the Network adminstrator always diable this function).



Former Member
0 Kudos

It's Mail Relaying and it allows a mail server to send email (or relay it) on behalf of other systems. Many companies have relaying turned off because it is a security risk.

For example, allowing relaying will allow your system to send an email from though your email server which manages emails for This could be used by a rogue to send spam through your email server.

Also, if you try to send an email from an account that your mail server does not handle some receiving servers may assume it is spam and block it.

For this reason, only allow mail relaying on the email server for your domain and only from the SAP systems. This will prevent abuse from occuring because relaying is enabled.

Have you set the default domain for SAPconnect:


Microsoft note on SMTP Relaying: