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,
Rajani

Hi 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

Similar Messages

  • Problem with sending mail from SAP (ECC6.0)

    Hi guys!!
    I am facing problem in sending email from SAP to outlook.
    I've checked SICF and SCOT configuration and they are same as my other server thorugh which i am able to send the mail.
    I use SBWP to send the mail. after i send i do not get any error message, and when i check it in outbox, there is a yellow triangle in the status which means "send process still running" . so the sending mail is taking hours. i've set the frequesncy of my B/G job RSCONN01 to 10 minutes. i checked and this job is running successfully every 10 minutes.
    Please suggest what could be the possible reason and what can i do to solve this issue.
    Thanks,
    Sheetal Sharma

    Hi,
    First of all ask your IT (Exhchange) guy to check port number 25 is open or not for communincation, if not open ask him to open.
    you can check this yourself by doing TELNET
    steps to do telnet :
    logon to your application server,
    go to command prompt
    and type  TELNET <IP address of email server> 25
    If it prompts some message like this
    "exhange.domain.com Microsoft ESMTP MAIL Service, Version: 6.0.3790.18 30 ready at  Mon, 16 Jun 2008 16:25:41 +0300. "
    then it means your port 25 is open for communication.
    Regards,
    Abuzar.

  • 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 Mohan

    Hi 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

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

  • 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,
    Fendhy

    Hi,
    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

  • Problem in Sending email from Reports Queue Manager

    Hi
    I am getting problem in sending email from reports queue manager.
    It says that error in logging to mail server.
    If any body knows the sol then pl help me out.
    thanks

    Hi
    I am getting problem in sending email from reports queue manager.
    It says that error in logging to mail server.
    If any body knows the sol then pl help me out.
    thanks

  • 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,
    Varun

    Varun,
    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
    GOPI

    Use: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.
    Ramesh

    Hi,
    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.

  • Sending emails from SAP

    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,
    Venkat

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

  • Problem while sending mail from SAP

    Hi ABAP gurus,
        I tried to send mail from SAP. For this we configured SMTP Services using the transaction SCOT and all are Completed.
      When I send a mail using SAPOffice it is Executing successfully and main is delivered to me.
       When I tried in  the program using the function module 'SO_NEW_DOCUMENT_SEND_API1' mail is not delivered to me but it is placed in SAPoffice outbox.The status of the mail says  "SEND PROCESS STILL RUNNING". Even when i execute SAPconnect manually mail is not transmitted.
       This is the transaction history of the mail.
      Trans. history  
    18.02.2006  13:44:31  Document sent 
                 13:44:31  Wait for communications service 
    After This stage Delivery attempt is not taking place.
    This is the Code
    ****Document DATA
    EMAIL_DATA-OBJ_NAME = 'MESSAGE'.
    EMAIL_DATA-OBJ_DESCR = SUBJECT.
    EMAIL_DATA-OBJ_LANGU = 'E'.
    EMAIL_DATA-SENSITIVTY = 'P'.
    EMAIL_DATA-OBJ_PRIO =  '1'.
    EMAIL_DATA-NO_CHANGE = 'X'.
    EMAIL_DATA-PRIORITY = '1'.
    ***Receiver
        EMAIL_SEND-RECEIVER = '[email protected]'.
        EMAIL_SEND-REC_TYPE = 'U'.
        EMAIL_SEND-EXPRESS = 'X'.
        APPEND EMAIL_SEND.
    CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
         EXPORTING
              DOCUMENT_DATA              = EMAIL_DATA
              DOCUMENT_TYPE              = 'RAW'
              PUT_IN_OUTBOX              = 'X'
        IMPORTING
             SENT_TO_ALL                = SENT
             NEW_OBJECT_ID              = EMAIL_ID
         TABLES
              OBJECT_CONTENT             = EMAIL_TEXT
              RECEIVERS                  = EMAIL_SEND
         EXCEPTIONS
              TOO_MANY_RECEIVERS         = 1
              DOCUMENT_NOT_SENT          = 2
              DOCUMENT_TYPE_NOT_EXIST    = 3
              OPERATION_NO_AUTHORIZATION = 4
              PARAMETER_ERROR            = 5
              X_ERROR                    = 6
              ENQUEUE_ERROR              = 7
              OTHERS                     = 8.
    Please Help me to solve this Problem.
    Regards,
    Viswanath Babu.P.D

    Hi viswanath,
    1. in scot, in smtp node,
    2. press the internet button
    3. In ADDRESS AREA,
       type
       *yahoo.com
       *rediffmail.com
      etc,etc.
    4. Only when such domains are  entered,
       will sap send mail.
    5. It will not send any mail to other domains.
    6. Or simply enter *
    regards,
    amit m.

  • 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

  • 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,
    Munur

    Hi,
    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

  • Problem in sending mails from SAP-line breaks in lotus

    Hi Gurus,
    I have a very peculiar issue with external mail send from SAP to Lotus Notes.
    Issue: When a PO is created in SAP a automatic mail will be sent to vendor to his
    Lotus Notes from SAP. Here we are a using a subroutine where the FM
    'SO_NEW_DOCUMENT_SEND_API1' and the content of  the mail is stored in text symbols
    and  then populated to a internal table which will be passed to the above said FM.
    So this is very simple case.
    My problem is now, even though it looks fine in the SOST, when mail is seen in lotus,
    lines of  the mail contents are breaking around 79th or 80th character, eventhough it is more  than
    that while appending to the internal table. I don't understand this at all, why it  is happening?
    Ex: in SOST if we see a line looks like this.
    aaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbnnnnnnnnnn
    but in lotus it breaks and looks like  below:
    aaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbb
    bbbbbbbbbbbnnnnnnnnnn
    Any light can be thrown on this!!!
    Reward is guaranteed for helpful answers!!!!
    -B S B

    How do you connect SAP to the lotus notes email database?  In some installations I have seen this done using Unix Sendmail functionality and this may be causing this result?
    Andrew

Maybe you are looking for