on 12-05-2011 6:15 AM
Hi All,
I am working on SMTP (Mail)Configuration in SAP Solution Manager 7.1.
I read note 455140 and configured accordingly.
Steps I followed:
1. parameters maintained: icm/server_port_2 = PROT=SMTP,PORT=25000,TIMEOUT=180
is/SMTP/virt_host_0 = *:25000;
2. User maintained: Dialog user with S_A.SCON profile with user address as username@<companyname>.com
3.Client Assignment: (SICF): a. Host Data:Profile Parameter Number: is/SMTP/virt_host_0
b. Service data: Client 100, user: username, password: ***, language: EN.
c. Handler List: CL_SMTP_EXT_SAPCONNECT in the first position
Saved Changes n Activated.
4.SAPconnect administration (SCOT):
a. Default domain: <companyname>.com
b. Nodes: SMTP Under node: Mail Host: <HOSTNAME_OF_SOLMAN> Mail Port: 25000 In Internet Address Area: *
5.Scheduled periodic Job with SAP&CONNECTALL variant
6. telnet <HOSTNAME> 25000 is successful
With this settings I am unable to send mails to my company's mail id i.e to Internet Mail . I am getting error: from SOST:
No delivery to ishan.sangai@<companyname>.com (Its a internet mail id )
Message no. XS812
Diagnosis
The SAP system has processed the message correctly. However, an error occurred in a subsequent system. The message was not delivered to recipient ishan.sangai@<companyname>.com.
Information from External System
554 Transaction failed.
I am not getting why this is happening but mails within system i.e to user are working. Please help me to sole this problem.
Thanks & Regards,
Ishan
Hi,
b. Nodes: SMTP Under node: Mail Host: <HOSTNAME_OF_SOLMAN> Mail Port: 25000 In Internet Address Area: *
You're Connecting your SOLMAN system to itself. No wonder that no mails are sent !
Regards,
Olivier
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Now I made some changes. As we are using Google Apps, I am using smtp of gmail. So now I made changes under the Node SMTP as follows:
1.Nodes: SMTP Under node:
Mail Host: smtp.gmail.com
Mail Port: 25 also tried 587
In both cases I am getting error as:
No delivery to ishan.sangai@<companyname>.com, authentication required
Message no. XS853
Diagnosis
The message was processed successfully in the SAP system. The mail server that is supposed to receive the message for further processing requires authentication. The SAP system does not support this procedure. As a result, the message was not delivered to recipient ishan.sangai@<companyname>.com.
Information from External System
_530 5.7.0 Must issue a STARTTLS command first. p1admin@<companyname>.com
Procedure
The administration settings must be changed. The specified mail server must not request authentication.
2.I tried to telnet smtp.gmail.com 25
I am getting following output:
220 mx.google.com ESMTP ds5sm2193379ibb.5
HELO <HOSTNAME>
250 mx.google.com at your service
HELO <companyname>.com
250 mx.google.com at your service
MAIL FROM solman_admin@<companyname>.com ENVID=12345
530 5.7.0 Must issue a STARTTLS command first. ds5sm2193379ibb.5
Please help me to solve this error.
Thanks & Regards,
Ishan
Hi,
Thanks for your reply.
Can you please tell me the procedure to authenticate the SAP Server in Mail Server and what configurations are needed. I don't know the procedure to do so, as I am new in such scenario.
And one more thing we are using Google Apps.
So, Please Guide me.
Thanks & Regards,
Ishan
Hi,
Thanks for reply.
I got new updates that Google SMTP requires userid/password authentications that SAP does not support.
So we are planning to use SMTP relay server between SAP and Google APPS SMTP server.
As we are using Windows Server 2008.
Should i use Microsoft IIS SMTP virtual server?
I got following info from Microsoft's site:
Configuring SMTP Virtual Server Relay Restrictions (IIS 6.0)
"IIS includes a full-featured SMTP virtual server that you can use to receive and relay e-mail messages to other SMTP servers on your network or to servers on the Internet. The relay function is useful for internal network clients that might have to forward mail to other SMTP servers, and it is useful for IIS programs that need access to an SMTP server to forward mail."
I hadn't used IIS before. or should I use another SMTP Relay Server?(Please let me another SMTP relay server that can be used.)
Please help me regarding it.
Thanks & Regards,
Ishan
Hi , from your first post
b. Nodes: SMTP Under node: Mail Host: <HOSTNAME_OF_SOLMAN> Mail Port: 25000 In Internet Address Area:*
You not have mail server installed on your HOSTNAME_OF_SOLMAN , this will not work.
Are you have corporative mail? You need to specify here the IP of your corporative mail server(should be able to work with the SMTP) , by default port 25 will not be changed becouse 25 is SMTP port.
Also change in the main menu (this will help you in future) > settings > confirmation of receipt, select second choice (sapconnect doesn't expect...)
Regards.
Hi,
Thanks for reply.
Can you please explain in brief what steps you have followed.
Actually I am completely new in this scenario.
I am going with IIS 6. I googled but not getting steps for connecting SAP with SMTP Virtual Server.
I have installed IIS on another machine and trying to connect it.
Please help me to solve this.
Thanks & Regards,
Ishan
Hi,
I know I am asking u very very basic questions n help. But your reply given me hope that this can be done.
Whereas when I searched thr' forums I hadn't got any clue. In fact some questions are still not answered. That's why I asked u abt docs.
At this moment I am able to receive mails in my SMTP Virtual server from SAP. Now I am looking to forward them to Google Apps.
Thanks for replying.
Ishan
OK, use this guide.
http://es.scribd.com/doc/160188171/How-to-Configure-Gmail-in-Sap-Mail-Server-v1
Regards
Josué Acuña
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ishan,
I'm facing the same issue. please help.
PFB Screenshots.
The message could not be delivered to recipient . The node gave the following reason (in the language of the node):
554 5.7.1 <email addr>: Relay access deni
Processing was ended normally.
Additional information of the node used (in the system language of the node):
554 5.7.1 <email addr>: Relay access deni
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
There are a few docs online for this setup. Example:
https://technet.microsoft.com/en-us/library/dn554323(v=exchg.150).aspx
But there are no docs on SAP side for this.
Regards,
Diego
Hi,
Sending External email through SAP
What is the FM for sending the external email through SAP by attaching layout set to it?
These are the FM for sending external email :-
SO_DOCUMENT_SEND_API1
SAPoffice: Send new document with attachments via RFC
SO_NEW_DOCUMENT_ATT_SEND_API1
(In 4.6C only, You can go to SE37 and click the documentation on how to use it. A sample program is provided there.)
SAPoffice: Send new document with attachments via RFC
Note : If you are using FM SO_NEW_DOCUMENT_ATT_SEND_API1 then Export Parameter DOCUMENT_DATA-OBJ_DESCR contains the Subject.
SO_NEW_DOCUMENT_SEND_API1
SAPoffice: Send new document
How to send a report to an external mail-id?
Try this sample code :-
REPORT ZREPORT_TO_EMAIL NO STANDARD PAGE HEADING LINE-SIZE 200.
DATA : BEGIN OF ITAB OCCURS 0,
PERNR LIKE PA0001-PERNR,
ENAME LIKE PA0001-ENAME,
END OF ITAB.
DATA: message_content LIKE soli OCCURS 10 WITH HEADER LINE,
receiver_list LIKE soos1 OCCURS 5 WITH HEADER LINE,
packing_list LIKE soxpl OCCURS 2 WITH HEADER LINE,
listobject LIKE abaplist OCCURS 10,
compressed_attachment LIKE soli OCCURS 100 WITH HEADER LINE,
w_object_hd_change LIKE sood1,
compressed_size LIKE sy-index.
START-OF-SELECTION.
SELECT PERNR ENAME
INTO CORRESPONDING FIELDS OF TABLE ITAB
FROM PA0001
WHERE PERNR < 50.
LOOP AT ITAB.
WRITE :/02 SY-VLINE , ITAB-PERNR, 15 SY-VLINE , ITAB-ENAME, 50
SY-VLINE.
ENDLOOP.
* Receivers
receiver_list-recextnam = 'EXTERNAL-MAIL-ID@YAHOO.COM'. "-->
* EMAIL ADDRESS
RECEIVER_list-RECESC = 'E'. "<-
RECEIVER_list-SNDART = 'INT'."<-
RECEIVER_list-SNDPRI = '1'."<-
APPEND receiver_list.
* General data
w_object_hd_change-objla = sy-langu.
w_object_hd_change-objnam = 'Object name'.
w_object_hd_change-objsns = 'P'.
* Mail subject
w_object_hd_change-objdes = 'Message subject'.
* Mail body
APPEND 'Message content' TO message_content.
* Attachment
CALL FUNCTION 'SAVE_LIST'
EXPORTING
list_index = '0'
TABLES
listobject = listobject.
CALL FUNCTION 'TABLE_COMPRESS'
IMPORTING
compressed_size = compressed_size
TABLES
in = listobject
out = compressed_attachment.
DESCRIBE TABLE compressed_attachment.
CLEAR packing_list.
packing_list-transf_bin = 'X'.
packing_list-head_start = 0.
packing_list-head_num = 0.
packing_list-body_start = 1.
packing_list-body_num = sy-tfill.
packing_list-objtp = 'ALI'.
packing_list-objnam = 'Object name'.
packing_list-objdes = 'Attachment description'.
packing_list-objlen = compressed_size.
APPEND packing_list.
CALL FUNCTION 'SO_OBJECT_SEND'
EXPORTING
object_hd_change = w_object_hd_change
object_type = 'RAW'
owner = sy-uname
TABLES
objcont = message_content
receivers = receiver_list
packing_list = packing_list
att_cont = compressed_attachment.
note: i fonnd this in erpgreat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
install some SMTP Relay server or service on OS Level and configure SMTP with username and password
then give the ip of your localhost to send mail from that SMTP Relay server or service.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
SAP Released new KBA:
1702632 - Authentication with user and password while sending mail through SAPconnect using SMTP
It says that now SMTP supports PLAIN, EXTERNAL and LOGIN authentication methods.
Regards,
Dmitriy!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ishan
b. Nodes: SMTP Under node: Mail Host: <HOSTNAME_OF_SOLMAN>
--> this should be the hostname of your mail server
Best regards
Tom
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am aslo getting same error below...any solutions please...
Message no. XS856
The message was processed successfully in the SAP system. The mail server that is to receive the message for further processing requires authentication. Probably there is no logon data specified in the SAPconnect configuration.
smtp.gmail.com:587
530 5.7.0 Must issue a STARTTLS command first. r4sm33122774qad.32 - gsmtp
Enter the logon data in the SAPconnect node.
Regards,
Sudarshan
Hi,
I am also facing the same problem.
I am using the mail host aspmx.l.google.com and port: 25, then i can send mails to internal domain and google apps domain, but i can't send different domains.
Regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ram,
Thanks for your reply.
Can you please explain what Authentication method you have used? I am using Anonymous access in Access tab to receive mails from SAP and to forward them I am using Basic Authentication in Delivery- Outbound Security tab.
I also tried With setting smart host as aspmx.l.google.com and TCP Port 25, I am not able to send mails to Google Apps.
Where I am missing in configuration let me know.
Thanks & Regards,
Ishan
Hi,
As I understand from your post and also we had the same issue - looks like the issue is due to no trust between your exchange server and your company's central mail exchange server.
We were using the MSX 2007 and we had to establish the trust between this MSX 2007 and our company's central exchange server which hosts the company mailbox. Unless this trust is setup, you will not be able to send mail to your company ID.
Please check the connection/security settings between exchange server and the central company exchange server. You may need to contact your company's exchange server team so that they can open up the required connection.
Regards,
Srikishan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.