Send email from SAP to External User ..........
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
Similar Messages
-
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 -
Send email from SAP using SMTP-AUTH
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,
FendhyHi,
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 -
General users can not send emails from SAP themselves except sap_all user
Dear experts ,
General users can not send emails from T-CODE: SO00 themselves except the users
which Assigned SAP_ALL Authorization Profiles .
We hit SAPconnect trace Error : SO_OBJECT_MIME_GET Exception: 2 .
No MIME Document Received. Error Code: UNKNOWN .
How to can i solve the problem ?
Thanks a lot in advance .Thanks for your Reply .
I had set default domain in SCOT ,and email address in su01 .
we can send email successful only SAP_ALL users .General users can not send emails from SAP themselves
Is anybody else to help me ?
Thanks a lot in advance . -
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,
HimanshuHello 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 -
Cannot Send Email from SAP Business One
Hi Experts
I have configured SAP Email Services from the Mailer Service and Customer can send emails all the while,
Now I have an Issue for One User,
Iam using the Same Machine, Same Database with Manager Login, I can send Email from SAP with Attachments
But When I use another Super user the system is not delivering the Email and it Goes to the Sent box (but not delivered)
Have anyone encountered the Issue before
Please hep to solve this issue permanently
Thanks and Regards
Vinodh Kumar MohanHi Vinodh Kumar Mohan,
If the email can be found in Sent box, it must be delivered already.
The problem could be on the email recipient side. It may go to the junk mail.
Thanks,
Gordon -
Components required for sending Email from SAP [Kernel Release 46D]?
Hi All,
Can somebody please tell me the components and the Configuration settings required for sending Emails from SAP system[Kernel Release 46D] to the mail server[Win NT] using SMTP.
From note 455127, I understood that "Sap Internet Mail Gateway" is required and there are other settings to be done. (SAPconnect with RFC can only be used as the Kernel version is 46D)
It will be great if somebody can explain me in simple steps if He/She has done this before.
Thanks,
VarunVarun,
sendmail comes with UNIX OS, there are versions of sendmail programs available for Windows too, but i guess you have to purchase them.
Another alternative is a discontinued product called SAP Exchange connector, if you have a Windows environment and MS Exchange server as your mail server, you could use a SAP exchange connector and get your SAP Email config done.
Regards,
Siddhesh -
Regarding Sending email from Sap system
hi experts,
i have developed one object for sending email from sap its working fine onlt to send TO option
HOW TO SEND MAIL TO CC option
thanks adv
reg
GOPIUse:SO_NEW_DOCUMENT_ATT_SEND_API1
CC field in email using SO_NEW_DOCUMENT_ATT_SEND_API1
How can I send mail to CC recipients
Reward points.. -
Sending emails from SAP system
Hai everybody,
for sending emails from SAP system , what are all the configuration we have to made & what are all the cheks we have to perform at BASIS level .
Pl guide me.
RameshHi,
Configurations need to be done with Tcode : SCOT
and RFC need to be established using SM59.
SO_NEW_DOCUMENT_ATT_SEND_API1 is the Function Module used for sending Emails from SAP System.
The Email ID's are maintained in XK02 , XD02 For Vendors and Customers in the Basic Data.
You need to write the code to fetch the ID's from the Vendor Master dataor customer master data based on the Vendor/Customer Numbers.
You can always monitor the Emails in SOST.
This is all you need to do. -
Send email from SAP with more than one attachment
Hi all,
How can i send email with more than one attachment and different types of document(doc,pdf,etc.) from SAP to external?
Besr regards,
MunurHi,
I use :
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
the main problem with different attachemts is to genereate the packing_list.
the packing list is a kind of description of the data table... where ist the start of an image, end, size...
"Creation of the entry for the compressed attachment
objpack-transf_bin = 'X'. " it could be an image
objpack-head_num = lv_head_num_count . " inital 1 each att add 1
objpack-head_start = 1. " fix
objpack-body_start = gv_startnum. " table with attachments 1. line one
objpack-body_num = tab_lines. " how many lines are in the table of attachment
objpack-doc_size = tab_lines * 255. " size of the attachment...
objpack-doc_type = lv_typ . " 'JPG'.
objpack-obj_name = 'ATTACHMENT'.
objpack-obj_descr = lv_stripped_name " name of the JPG
APPEND objpack.
APPEND LINES OF lt_goscontent TO gt_maildata. " data Table...
bestreg
robert -
Hi Experts,
I am sending an email from ABAP program using the function module SO_NEW_DOCUMENT_ATT_SEND_API1. But, it is in pending when we see the transaction code SOST. In that T-code if we select that particular mail and press execution button, it is sent to the email id. Do we have any function module which will trigger the mail directly to mail server or to work with the tcode SOST. Do we have any other mechanism.
Thanks and regards,
VenkatHi
After calling the function module : SO_NEW_DOCUMENT_ATT_SEND_API1
check sy-subrc.
If it's 0,the code will sent the emails from SAP.
otherwise there will be the problem.
SOST will send the mails with some delay in some cases.
Regards,
Sreeram -
Send emails from SAP BPC is disabled?
Hello,
I want to send emails from the SAP BPC, I have configured everything. But I have read that this part is disabled in SAP BPC 5.1.
Is that true??
Thank you very much.
Pablo Mortera.Hi Pablo,
Are you talking about any specific emails to be generated from BPC or emails in general? For example, if you are alluding to automatic generation of emails to the owners of BPF or the reviewers of BPF, then that feature is available in BPC7M (Microsoft version of BPC7.0).
Regards
Pravin -
Problem in sending emails from SAP
Hi All,
We have recently upgraded our system from 4.6C to ECC6. A background job that is supposed to send emails is not sending the mail to the users. When I check in the batch user's outbox, I can find the email sitting in the outbox. The mails were sent successfully prior to upgrade.
I'm using SO_OBJECT_SEND to send the mail. Can any one please suggest what I need to do to send the emails.
Thanking you in anticipation.
Regards,
RajaniHi Rajani,
Please check these thread
ALV reports emailed in background job
Mail report spool as an attachment in a background job :)
Sending mail in PDF format in background
A nice code sample is here
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8cd6adbb-0301-0010-39ba-938c601d5db9
All the Best !! Award points if useful -
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] -
Sending emails from SAP (4.6B) to Microsoft Exchange 2003
Hi experts,
Currently in process of implementing the above mentioned item and would like to seek anyone with the relevant expertise and experience to share his/her knowledge.
I have read that i can use SAP Exchange Connector to perform the communication with Exchange. But am confuse with things like SAPOffice & SAPConnect and other technical terms such as RFCin & RFCout.
So appreciate if someone could have some guides on how to perform the settings & configuration in SAP & Exchange, if i want to send some SAP documents such as PO or Invoices (saved in UNIX directory) via email (Exchange).
Thanks a lot!
regards,
JLSearch forum by "output type email". You need maintain server settings in SCOT and maintain output type for Send-Email and create condition records.
Maybe you are looking for
-
Hi All, I'm new to MDM.Just i installed MDM 9.3.1 ,when i start the service from mdm console it shows the following error: "Exception Emdm_Exception with message 'Could not create a JVM. Error: 'The specified module could not be found''" the mdm serv
-
Hi I am in the process of consolodating and crosschecking backup data (migrating from one NAS to a different NAS system), the data had been copied down to local external drives ( why = nas was suspect, so I wanted to get the data out in the shortest
-
Store a lot of text with a song
Apart from the comment box of Get Info,which is quite limited, is there a place where I can store a larger amount of text for a song. TIA Gert iTunes Windows XP
-
I downloaded the new PC suite and now when I try to covert music or transfer files to my phone the software just shutsdown without error message. There is a lot of posts about this around the web but no one seems to have any idea what to do... And no
-
An appeal to Nokia - GPS and time
This is an appeal to Nokia to create products that make use of the fact that GPS receivers can give accurate time. I'm an amateur astronomer, and GPS and Java-enabled mobile phones are an absolute godsend - I can whip out my phone and, with a built-i