Error while sending mail from SAP to external mail id
Hello Experts,
I am blocked by the below problem.
I am trying to send email from SAP to an external email ID. I have tried using Class approach as well as the function 'SO_DOCUMENT_SEND_API1' for the same.
Everytime i get the following message:
Internal error: CL_SMTP_RESPONSE ESMTP error code is not known. 554 554 <email address> Sender address rejected.
I am not at all able to figure out why this type of error is coming.
The same code is working on the development environment but not on the test system.
Please reply back asap as i am completely blocked due to this.
Thanks/Regards,
Himanshu
Hello Priyanka,
Actually, I performed the following two steps in order to solve the issue:
- In transaction SICF, the node for SAPConnect must be active. In our system, this node was in inactive state. Hence I activated it.
- Then In transaction SCOT-> Settings menu--> default domain should be 'xyz.com' if the email addresses in your company are maintained with a suffix xyz.com.
But for me the problem didnt get solved here..
The problem that i am facing now is that if in my user profile, I have the email address maintained, then i get an error saying 'Sender address rejected'. However, if i goto transaction SU01 and clear the email id, the mail is successfully sent to outer world.
You can try the above mentioned two steps using SICF and SCOT. If the problem does not get solved then try clearing the mail id in ur user profile.
Hope this helps. If you find an answer to the problem of the mail id getting cleared, then please let me know..
Regards,
Himanshu
Similar Messages
-
hiii
<b>Is it possible to send mail from SAP to External user??????if possible does BASIS people had to do something???</b>
I want to send the email from sap to external user([email protected]).My mail will consist of some changes made in production order(CO03). for which i had created the BADI. That part is over now i want to send the mail.
<b>I got many sample programs in sdn but when i enter the email address it execute but mail is not sent.....I want to know by just executing Zprogram mail will be sent or there is some role for BASIS also..............</b>
Thanking you.
Regards.There is a transaction called SCOT that needs to be configured
http://www.sap-basis-abap.com/sapbs035.htm
http://www.sap-img.com/basis/basis-faq.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/2b/d925bf4b8a11d1894c0000e8323c4f/frameset.htm -
Error while sending data from XI to BI System
Hello Friends,
I m facing an error while sending data from XI to BI. XI is successfully recived data from FTP.
Given error i faced out in communication channel monitoring:-
Receiver channel 'POSDMLog_Receiver' for party '', service 'Busys_POSDM'
Error can not instantiate RfcPool caused by:
com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
Connect_PM TYPE=A ASHOST=10.1.45.35 SYSNR=01 GWHOST=10.1.45.35 GWSERV=sapgw01 PCS=1
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR partner '10.1.45.35:sapgw01' not reached
TIME Fri Apr 16 08:15:18 2010
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -10
MODULE nixxi.cpp
LINE 2823
DETAIL NiPConnect2
SYSTEM CALL connect
ERRNO 10061
ERRNO TEXT WSAECONNREFUSED: Connection refused
COUNTER 2
Error displaying in message monitoring:-
Exception caught by adapter framework: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=10.1.45.35 SYSNR=01 GWHOST=10.1.45.35 GWSERV=sapgw01 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '10.1.45.35:sapgw01' not reached TIME Fri Apr 16 08:15:18 2010 RELEASE 70
Delivery of the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=10.1.45.35 SYSNR=01 GWHOST=10.1.45.35 GWSERV=sapgw01 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '10.1.45.35:sapgw01' not reached TIME.
Kindly suggest me & provide details of error.
Regards,
NarendraHi Narendra,
Message is clearly showing that your system is not reachable
102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=10.1.45.35 SYSNR=01 GWHOST=10.1.45.35 GWSERV=sapgw01 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '10.1.45.35:sapgw01' not reached
Please check to ping the BI server IP 10.1.45.35 from your XI server , in case its working you can check telnet to SAP standard port like 3201/3601/3301/3901 etc.
It seems to be connectivity issue only.
Make sure your both the systems are up and running.
Revert back after checking above stuff.
Regards,
Gagan Deep Kaushal -
Error While sending infopackages from OLTP to BI/urgent
Hi BW friends
im workin on production support and im new to it.while
running infopackage X ,it is throwing a error
error:While sending infopackages from OLTP to BI/urgent
In status tab it shows traingular yellow colour
and diagnosis says that No idocs could be sent to bi using rfc.
so if u know please reply me
Thank you
Amarnath kwhile loading data into the target we got this message and the solution is do manual update for that.
-
Authentication Error while Sending Email from SMTP server.
Authentication Error while Sending Email from SMTP server. Can receive emails but cannot send emails from this account.
no email account was setup on the phone unless it was issued by your company.
gmail is required but no server address ports to enter.
my gmail account was setup before i took delivery of the phone but could have been done when phone was activated.
i added cox pop3 email and had to manually enter both pop3 and smtp servers with both boxes checked on both servers.
i doubt if it's a verizon issue. -
Getting message in .ALI format from SAP to external mail
Hi All,
We are getting message in .ALI format from SAP to external mail , we want to receive in HTM or .txt format.
Please let me know what needs to be changed .
Thanks in advance
Thanks&Regards
Shams
Edited by: shams111 on Aug 11, 2009 9:23 PMHi Markus,
I have changed the format but iam getting it in format .pdf now .
Under INET i have selected internet and changed format to : HTM,PDF,TXT .
Please let me know what to do to get it in HTM format.
Thanks in advanse.
Thanks&Regards
Shams -
Sending Mail from SAP to External Source
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???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] -
Error while sending emails from SOA 11G BPEL
Hi All,
I have configured an error email in my catch/catch-all blocks. Incase I dont have any retry action in my faultpolicies.xml file, the error email is sent fine. However if any remote/binding fault occurs and retry is done on partnerlink, in those cases the Error Notification service fails with below error:
ORABPEL-31015
Error while sending notification.
Error while sending notification to email.
Possible causes : SDPMessaging Driver not configured; Invalid To Address is used; Email server/Messaging gateway is down; using IP address as part of email ID instead of domain name;.
Caused by: javax.naming.NameNotFoundException: While trying to look up comp/env/ejb/services/NotificationServiceBean in /app/ejb/ejb_ob_engine_wls.jar#BPELActivityManagerBean.; remaining name 'comp/env/ejb/services/NotificationServiceBean'
sendEmailNotification WSIF Exception occured. Please check stack trace "Cannot get Object part 'Responses'. No parts are set on the message"
If I throw a remote/binding fault (throw activity), the error email gets sent. However whenever the retry happens incase of a fault, the above error comes.
Any idea what can be reason behing this...
Regards
Subhankartry to call a sub process from your catch all block and use the email activity in that subprocess. this should work
-
Error while sending email from MOSS portal
Hi,
I have configured email settings on my MOSS central admin, still MOSS throws error while trying to send emails to AD users. I tried to give permission for a user in a site and it threw this error:
The user or users have been added successfully, but there was an error in sending the e-mail message. The server may not be set up correctly to send e-mail. To verify that e-mail is configured correctly, contact your server administrator. at Microsoft.SharePoint.ApplicationPages.AclInv.SendEmailInvitation(PeopleEditor picker, String subject, String message)
at Microsoft.SharePoint.ApplicationPages.AclInv.BtnOK_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I have provided outbound smtp server address and the email addresses as well.
Regards,
ManojOk, issue solved!! The issue was that I had to set anonymous connection directly to server. Error provided by SharePoint didn't help at all. After hours of hair-pulling and head-banging, I found a nice article that detailed how to troubleshoot e-mail issues:
http://www.tonytestasworld.com/post/2009/04/09/SharePoint-2007-Outgoing-E-mail-Troubleshooting-Tips.aspx
In the above article, the troubleshooting step 5 was the breaking point. As suggested in the blog:
http://www.sharepointblogs.com/johnwpowell/archive/2007/07/10/alerts-failing-cannot-connect-to-smtp-host.aspx
I created a C# console application and it gave me the correct error:
The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.1 Client was not authenticated
So I used this code to create an SMTP test application:
using System;
using System.Collections.Generic;
using System.Text;
using System.Net.Mail;
public class Program
public static void Main(string[] args)
try
// Check arguments
if (args.Length != 3)
ShowUsage();
return;
// Create message
MailMessage mmMessage = new MailMessage();
mmMessage.To.Add(new MailAddress(args[2] as string));
mmMessage.From = new MailAddress(args[1] as string);
mmMessage.Subject = "TestMail";
mmMessage.Body = "This is a test";
// Send message
SmtpClient sc = new SmtpClient(args[0] as string);
sc.Send(mmMessage);
catch (Exception ex)
Console.WriteLine(ex);
finally
//Pause
Console.WriteLine();
Console.Write("Press a key >");
Console.ReadKey();
private static void ShowUsage()
Console.WriteLine("Usage");
Console.WriteLine("TestMail [SmtpServer] [FromAddress] [ToAddress]");
} // end Program
This command saved lots of trouble for me and solved the email issue:
http://forums.msexchange.org/m_1800412705/mpage_1/key_/tm.htm
set-ReceiveConnector "default sfzcombx" -permissiongroups:"ExchangeUsers,ExchangeServers,ExchangeLegacyServers,AnonymousUsers"
Hope this helps somebody!
Regards,
Manoj -
Error while sending email from ABAP
Hi
I am using function module SO_NEW_DOCUMENT_ATT_SEND_API1 to send the email to an external id.
In the debugging mode i can see the function module is getting executed successfully i.e sy-surc value is 0.
But i am getting a sucess message i.e "No message sent".
Has anybody faced this kind of problem.Please let me know how to rectify this error
Thanks
DebrajHi Deb,
Have you done the relevant configuration in SCOT transaction to connect to a SMTP server and also as per note 455140???
Also this blog from Thomas Jung could help you...
/people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface
Cheers
JK -
Error while pushing idocs from SAP to XI
Dear All,
For doing ALE configurations for pushing IDOC's from SAP to XI, I am following the following blog posted on SDN:
/people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
I am able to create the model view distribution successfully but when I am clicking on EDIT --> MODEL VIEW --> DISTRIBUTE (which is one of the steps mentioned in the blog), I am getting an error tht
<b>Target system XIDEV Communication error occurred
User is locked. Please notify the person responsible</b>
please tell me what is the error ie which user is locked and how should i proceed now.
Waiting for your reply.
Warm regards,
N.Jainhi krishnamoorthy,
i hve created one RFC in my R/3 system which is pointing to Xi-DEV. So, in the RFC I have used my XI user id & password for loging and the RFC is wrking fine when I am testing tht. I have used my id "XISUPER" in that RFC and it is not locked in XI-DEV. I have not used user id "XI_APPLUSER" anywhere.
Please suggest.
Warm Regards,
N.Jain -
Line Alignment Problem while sending Fax from SAP Script
Moderator message: please do not post the same question in different forums
Hi Experts,
While sending fax the horizontal lines are not displaying till the end of the page.
But in the print preview the lines are displying till the end.
If this is printed using local printer the lines are printing fine but the problem is with the fax.
Please provide me a solution for this.
Regards,
Rajesh.
Edited by: Matt on Nov 25, 2008 2:51 PMPuzzling.
I've seen where the printed output doesn't match the print preview but not a fax not matching a print.
Do you use SAPConnect or the older SAPComm method for faxing?
How do you produce the horizontal lines? BOX commands, ULINE, '-', etc.? -
Send email from SAP to external
hi experts,
My code triggers Email from my SAP program to external Email ID.This functionality is working fine.
Below is a snippet of my code:
TRY.
Sender config
obj_send_request = cl_bcs=>create_persistent( ).
obj_sender = cl_sapuser_bcs=>create( sy-uname ).
obj_send_request->set_sender( i_sender = obj_sender ).
*Receiver config
obj_recipient =
cl_cam_address_bcs=>create_internet_address( 'ABC^GMAIL dot COM' ).
obj_send_request->add_recipient(
i_recipient = obj_recipient
i_copy = c_x " CC indicator
ENDTRY.
There are two issues I am facing now (basically required by client):
1: Need to have a string instead of "SY-UNAME" in the Sender address i.e. email should show 'ABC Corporation'
(I think this is not possible as System expects a valid Email ID.. Can anyone confirm this assumption???)
2: The receiver is getting the READ RECEIPT after reading the email. This has to be removed.
Any help would be highly appreciated.
ags.
Edited by: ags on Oct 26, 2009 9:35 AMHi,
CL_RECIPIENTS =
CL_CAM_ADDRESS_BCS=>CREATE_INTERNET_ADDRESS( WA_ADD_RECIPIENTS-SMTPADR ).
*- Add recipient with its respective attributes to send request
IF CL_RECIPIENTS IS NOT INITIAL.
CALL METHOD CL_EMAILERBCS->ADD_RECIPIENT
EXPORTING
I_RECIPIENT = CL_RECIPIENTS
I_EXPRESS = WA_ADD_RECIPIENTS-B_EXPRESS
I_COPY = WA_ADD_RECIPIENTS-B_COPY
I_BLIND_COPY = WA_ADD_RECIPIENTS-B_BLIND_COPY
I_NO_FORWARD = WA_ADD_RECIPIENTS-B_NO_FORWARD.
ENDIF.
This is the way how do I add recipients. Your user requirement is how do I will know the mail has sent or not to recipient rite ??
Regards,
Suneel G -
Service Desk: error while sending message to SAP
Hello Gurus,
I have configured Service Desk in Solution Manager. When i create a message in one of my Satellite Systems the message appears in Solman but when i try ro send the message to SAP i get the following error.
"You do not have authorization to Send or Compare a notification"
The user has SAP_ALL and NEW and the same has been maintained in AISUSER table. After i get the error i executed SU53 but there are no missing authorization.
Can someone please tell me what the problem could be?
Regards
Anil Verma BHi,
Apart from the SAPOSS, SAP-OSS, SAP-OSS-LIST-01 rfcs, pls ensure the basic authorizations for solman has been verified and given.
SAP_SUPPDESK_ADMIN
SAP_SUPPDESK_CREATE
SAP_SV_FDB_NOTIF_BC_ADMIN
Please also verify if you had the BADI settings done correctly as per note
1140822 SAP customer number for installation number &1 unkn
Hope this helps.
Cheers
Sh -
Error while sending excel sheet as attachment to Mail Receiver
Hi everyone,
I am facing the below error when I am trying to send data to Mail receiver adapter. The attachment is excel sheet.
Delivery of the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Object not found in lookup of MessageTransformBean.: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of MessageTransformBean..
I don't understand where the problem is. This has been running since long time and last month we have changed our web dispatcher details. I hope everything is fine. But not sure the root cause for this issue.
Please help me in resolving this.
Thank you.
Regards
Bhanu T.Check if this helps: MessageTransformBean module
Confirm that you have configured the MessagetransformationBean properly.
Are you trying to convert some payload into Excel and send it as an attachment in the Mail CC? If yes, then I hope that you have included the correct Content_type value.
Check this for more info on Content_type: /people/community.user/blog/2006/09/08/email-report-as-attachment-excelword
Regards,
Abhishek.
Maybe you are looking for
-
when importing cds to the ipod library song with guest artist are not placed in the same flie they are spread all over the library ,so when playing the file they are not all together missing tracks,also importing anthology cds many artist from differ
-
Trying to understand creating and using packages
Hi all, I do not understand this problem... Package "shared.utilities" is an entire separate package from "alertsystem". When I comment out "package alertsystem", I get C:\Wdt\alertsystem\File_Handling.java:4: package shared.utilities does not exist
-
I am having trouble with a computation of data from a checkbox. It is very unusual in that I have two items, each receives data from a checkbox item. One displays the values checked on the checkbox correctly, that is, if two items are checked then th
-
Working time drop down list down in english for spanish users?
Dear Forumites, When a Spanish employee logged in the portal for Working time the Dropdown values for 'Atts./Abs' type are listing in English What Could be the problem? Warm Regards Hari Sankar M
-
CS4 Installation in Windows 7 RC
Hello all, Just wondering whether anyone has had any issues installing CS4 on Windows 7. Seems to not even run setup program. Disk autoplays but when click on 'Install CS4' it starts running then doesn't do anything else. Hoping this isnt a Window