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: 

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???

7 REPLIES 7

jurjen_heeck
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!

Jurjen

Former Member
0 Kudos

Hi,

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".

Regards,

Sanju.

Former Member
0 Kudos

Dear,

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

Regards,

Abuzar.

0 Kudos

Hi ATGBasis ATGBasis ,

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

Thanks,

Sinhto

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.

Thanks,

Jigar

0 Kudos

Hi,

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).

Regards,

Sinh.

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 xxx.com though your email server which manages emails for company.com. 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:

[http://help.sap.com/saphelp_nw04/helpdata/EN/00/7c9962df8111d3a36400a0c943858e/content.htm]

Microsoft note on SMTP Relaying:

[http://support.microsoft.com/kb/304897]