Email sending error

Hi Gurus,
I am sending an email with HTM attachement.
I am reading the spool number and converting it into HTM format and sending this as attachement.
But attachment contains only half of the data. Rest it is deleting it and format is also miss matching. Each line is added with extra line space.
My code goes like this.
Submit report to convert the spool to HTML format
  SUBMIT rspolst2 EXPORTING LIST TO MEMORY AND RETURN
  WITH rqident = p_spoolno. <spool number>
  CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
      listobject = gt_listobj
    EXCEPTIONS
      not_found  = 1
      OTHERS     = 2.
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
Convert the spool to HTML format
  CALL FUNCTION 'WWW_HTML_FROM_LISTOBJECT'
    EXPORTING
      REPORT_NAME         = sy-repid
     template_name = text-t01
    TABLES
      html          = p_html_tab
      listobject    = gt_listobj.

I have noticed another thing.
In spool itself it has truncated data.
I am not getting full data in spool.
How can i resolve this.

Similar Messages

  • TS2621 iPhone ..email send error

    Can receive emails but not send, all inbound and outbound settings checked and correct.  Verified with EarthLink and spent hours
    With apple support.  They had me uninstall  and reinstall email applications, reboot, reset, etc.  worked for a few minutes, then email
    Send error reoccurred,  Send emails works on pc and iPads. Just not iPhone using email app on iPhone. Any ideas?

    [Configuring Email in SAP|http://www.tamboly.com/SAPEmailConfiguration.html]
    [How to configure SAP to send email to an external email.|http://sap.ittoolbox.com/groups/technical-functional/sap-basis/how-to-configure-sap-to-send-email-to-an-external-email-911513] "whole conversation
    [External email troubleshoot|http://www.google.com/url?sa=t&source=web&ct=res&cd=4&url=https%3A%2F%2Fwww.sdn.sap.com%2Firj%2Fscn%2Fgo%2Fportal%2Fprtroot%2Fdocs%2Flibrary%2Fuuid%2F206762fd-0380-2b10-e880-ee786bae7dd0&ei=qMaYSa-uMpzgM4Xu1fYL&usg=AFQjCNGpFL6zAzVxny7gJeFg8A6RiUJGXw&sig2=GWOmm89hlkRDAUPgixzQmg]

  • BT preventing email sending - error 550

    I apologise if this has been on the forum before, I could not find it.
    I have been on BT BB for 2 months and on 24th Oct I found I could no longer send email, I get a 550 error.
    I contacted BT and a guy in India took remote control of my PC, faffed abount and eventually checked the settings on my email account. Eventually he told me it was a problem with my old ISP and to contact them.
    From what I read this is not the case and is down to BT blocking the relay of my Lineone.net account.
    The best explanation I have found is:
    This, rather cryptic, error message from BT Internet's SMTP servers means that the Sender's email address is not recognised by their servers. This usually happens if the sender is in an email domain which is not registered through BT Internet (ie is registered with a different ISP/hosting company).
    I would appreciate any help as BT's support does not seem to have a clue, although this appears to be quite a common problem.
    I desperately need to send email and now the only option I appear to have is to switch to another provider.
    Please help
    Solved!
    Go to Solution.

    sambat2000 wrote:
    I apologise if this has been on the forum before, I could not find it.
    I have been on BT BB for 2 months and on 24th Oct I found I could no longer send email, I get a 550 error.
    I contacted BT and a guy in India took remote control of my PC, faffed abount and eventually checked the settings on my email account. Eventually he told me it was a problem with my old ISP and to contact them.
    From what I read this is not the case and is down to BT blocking the relay of my Lineone.net account.
    The best explanation I have found is:
    This, rather cryptic, error message from BT Internet's SMTP servers means that the Sender's email address is not recognised by their servers. This usually happens if the sender is in an email domain which is not registered through BT Internet (ie is registered with a different ISP/hosting company).
    I would appreciate any help as BT's support does not seem to have a clue, although this appears to be quite a common problem.
    I desperately need to send email and now the only option I appear to have is to switch to another provider.
    Please help
    Hi. Welcome to the forums.
    Are you trying to send a lineone email address using the BTinternet mail servers, or via the lineone servers ?
    You've not supplied the exact error message you are receiving, which helps to diagnose the problem.
    You can't just use any email address and use the BTinternet mail servers - you need to go through a thing called address verification (see my shortcuts option 0e). You also need to make sure you have smtp authentication turned on.
    http://www.andyweb.co.uk/shortcuts
    http://www.andyweb.co.uk/pictures

  • FSRM test email send error server 2012

    Hi,
    we have an SMTP relay on a diffrend 2012 server that works with other applications
    but when I configure FSRM and try to send a test email I get an error:
    A File Server Resource Manager Service email action could not be run. 
    Error-specific details:
       Error: IFsrmEmailExternal::SendMail, 0x8004531c, Failure sending mail.: Unable to read data from the transport connection: net_io_connectionclosed.
    I found somthing similar but this is for an onsite exchange
    http://itshi-tech.blogspot.com/2012/03/fsrm-failed-to-send-test-e-mail-due-to.html

    Hi,
    It could be caused by SMTP authentication issue. A similar issue is discussed in following thread:
     http://social.technet.microsoft.com/Forums/windowsserver/en-US/a34f5b5e-7786-4417-aea4-d704fd48bcd5/file-server-resource-manager-fsrm-email-notification-validation
    Specifically please test to create a new receive connector with "New-ReceiveConnector".
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Email Sending Error in OPCM v 13.0

    *"Primavera cannot email this document, please contact your Contract Management Administrator."*
    I am getting this error while sending a daily report form. Can anyone help me out.
    Regards!

    Do all emails fail or only this particular report? If all fail then this is almost certainly an issue with the SMTP configuration or server and you will likely need to involve your mail admin.
    Below is the text from the previously mentioned KB article:
    Cause 1: Invalid SMTP Server
    An SMTP server has not been specified for the application, or the specified SMTP server is invalid.
    Solution 1:
    See either of the following solutions for setting up e-mail and confirm that the specified SMTP server is valid.
    Version 12.x and earlier: 895275.1 - How to configure e-mail in Expedition / Contract Manager
    Version 13.x and above: 1075735.1 - How to Configure E-Mail in Contract Management
    Cause 2: Anonymous Relay Disabled on SMTP Server
    The SMTP server is not allowing anonymous relay from the web server machine.
    Solution 2:
    The application is not currently able to authenticate with SMTP servers. For that reason the SMTP server needs to be configured to allow anonymous relay from the application web server machine. For more details, see article: 903154.1 - Unable to E-mail Documents from Contract Management / E-mail Does Not Appear to be Sent
    Cause 3: Blocked SMTP Port
    Anti-virus or other security software on the web server machine may be blocking outbound traffic on port 25 (default outbound email port).
    Solution 3:
    If security software on the application web server machine is blocking outbound traffic on port 25, either allow outbound traffic on port 25 or add an exclusion for the application.
    Cause 4: Attachment(s) Too Large
    The Include Attachments check box is marked, when attempting to e-mail, but the total attachment size is violating the SMTP server attachment size restrictions.
    Solution 4:
    Remove the check mark from Include Attachments and send the e-mail. Send the attachments via another means, if necessary.
    Cause 5: Invalid Characters in Email Address
    One or more recipient e-mail addresses contains invalid characters, such as the HTML code for an apostrophe.
    Solution 5: Manually replace invalid characters in the recipient e-mail address with the valid characters.

  • Email send error

    When I try to use my office laptop ( btconnect) at home ( btinternet ) I can receive mail but not send. An error '0X800CCC80' comes up. This error code is not traceable via the BT website.

    rick wrote:
    When I try to use my office laptop ( btconnect) at home ( btinternet ) I can receive mail but not send. An error '0X800CCC80' comes up. This error code is not traceable via the BT website.
    Hi Rick.
    I assume that you are trying to send emails without altering any of the settings (are you using Outlook for example ?).
    I suspect that you have the btconnect.com email server (either smtp.btconnect.com or mail.btconnect.com). I don't believe this will work, though setting smtp authentication should be set anyway.
    You usually need to use the mail server for the ISP to which you are connected - in this case BTinternet, hence mail.btinternet.com
    However having a non BTinternet email address in the settings (btconnect.com) may also cause problems needing address verfication (see my shortcuts option 0e) - and you will need to have a BTinternet email address/password combo in the Outlook settings for smtp.
    Receipt of email is usually not affected by the connection to an ISP, hence that is showing as no problems.
    http://www.andyweb.co.uk/shortcuts
    http://www.andyweb.co.uk/pictures

  • ABAP Email Sending error - MSG 672 - No entry in queue yet

    I am trying to send mail by using function module
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
       DOCUMENT_DATA = DOC_CHNG
       PUT_IN_OUTBOX = 'X'
    TABLES
       PACKING_LIST = OBJPACK
       OBJECT_HEADER = OBJHEAD
       CONTENTS_BIN = OBJBIN
       CONTENTS_TXT = OBJTXT
       RECEIVERS = RECLIST
    EXCEPTIONS
       TOO_MANY_RECEIVERS = 1
       DOCUMENT_NOT_SENT = 2
       OPERATION_NO_AUTHORIZATION = 4
    OTHERS = 99.
    and running the program rsconn01 also
    but in SOST its giving message MSG 672 - No entry in queue yet.
    Mail has not sent to recipent. any solutions?
    Regards
    Rajanbabu

    Hello,
    Please check SCOT setting.
    Following will help you in case of SCOT setting are not done.
    Do this and chk notes
    Note 129950 - Required Customizing for use of SAP connect
    Note 957412 - Troubleshooting automatic email transmission in SAP Solution
    Set-Up SAPconnect
    Use
    E-mails sent from an SAP application are first sent to a queue. The queued e-mails are subsequently sent by a periodic background job.
    Therefore, for automatic e-mailing you need to:
    u2022 set up SAPconnect
    u2022 set up a periodic job for SAPconnect
    This IMG activity is a prerequisite for the following scenarios:
    u2022 Testing
    u2022 Monitoring
    Activities
    Setup SAPConnect
    1. In transaction SAPconnect: Administration (SCOT) choose View -> System status.
    2. Choose Settings -> Default Domain.
    3. Specify your default domain and confirm. For example, "mydomain.com".
    4. In the Administration screen, double-click the SMTP node.
    5. Check the box "node in use".
    6. Specify the mail host for SMTP. For example, "mail.mydomain.com".
    7. Specify a mail port. The default port is 25.
    8. Choose "Set" (for "Internet").
    9. Enter an asterisk (*) for "address area".
    10. Choose Continue.
    Schedule the periodic background job to send queued e-mails
    11. Call transaction SCOT.
    12. Choose View - Jobs.
    The SAPconnect Job Administration screen is displayed.
    13. Choose Job - Create.
    A dialog box is displayed.
    14. Specify a job name.
    15. Confirm.
    16. In the next window, select the variant SAP&CONNECTALL.
    17. Choose Schedule job.
    18. Choose Schedule Periodically.
    A dialog box is displayed.
    19. Specify a time period.
    For example, 10 minutes.
    20. Choose Create.
    Regards,
    Sameer
    Edited by: Sameer on Mar 13, 2009 12:30 AM

  • Email send error msg 672

    Hi Experts,
    I facing the error message 672 - 'Still no entry in queue' when iam using the FM 'SO_NEW_DOCUMENT_ATT_SEND_API1'  for HR developement. This FM is written in form..endform which triggered dynamically ( dynamic actions ) when a infotype is created. done.
        CLEAR ls_objpack-transf_bin.
        ls_objpack-head_start = 1.
        ls_objpack-head_num = 0.
        ls_objpack-body_start = 1.
        ls_objpack-body_num = lv_tab_lines.
        ls_objpack-doc_type = 'RAW'.
        APPEND ls_objpack TO lt_objpack.
        CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
          EXPORTING
            document_data            = lv_doc
            put_in_outbox              = gc_checked
            commit_work               = gc_checked         
          TABLES
            packing_list               = lt_objpack
            contents_txt               = lt_objtxt
            receivers                  = lt_reclist
          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                           = 99.
    Please guide me to slove this issue

    Hello Kumar,
    Actually I have met with the same issue as you before, we have raised a ticket to related component, and the colleague replies as:
    the status 'no entry in queue yet' indicates that there has been no    
    COMMIT WORK at all aftr you have send the document; or the COMMIT      
    WORK was executed in a context where it is not active, eg. within      
    a 'call dialog', within an event handling, perform on commit or update 
    task.                                                                  
    Without COMMIT WORK the send request is not made persistent and there- 
    fore is not shown in the send queue.                                                                               
    The same problem might occur if the workflow is handling CRM objects   
    before sending and thus activate the object pool (class CL_OBJECT_POOL)
    I am not sure whether this is exactly the reason of your issue. You can also refer to SAP note 1041227 and 1045925. Hope it helps you.
    Best Regards,
    Jerry

  • When I try to send a photo by email, an error message reads "The email server didn't recognize your username/password combination"  How do I fix this?

    When I try to send a photo from iPhoto by email, and error message reads "The email server didn't recognize your username/password combination".  How do I fix this?

    Try to reenter you rmail account details in the iPhoto Preferences > Accounts tab.
    Delete the mail account entry by pressing the "-" button below the left column in the panel, then add it again by pressing "+".
    Also, it is recommended, to set "Mail" as mail client in the iPhoto preferences, and not iPhoto. This has been working much more reliably lately.

  • Email sends correctly but shows with a 'Red X' on it with an undefined error

    As the title, for the past few days when ever I send an email a red X appears by the email with an undefined error.  The email sends correctly however.  No changes were made that I am aware of.  Any suggestions on what this is?

    Hello sekisko, 
    Welcome to the forums. 
    Try clearing your Service Book database then resend Service Books and test again.
    How to clear the user content databases from the BlackBerry smartphone
    How to send service books using the email setup application on the BlackBerry smartphone
    -SR
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Sending error msgs through email and sms

    Hi,
    does anyone done on sending error msg file through email and sms.
    if so share some knowledge with me.
    thanks in advance

    Hi
    MAIL:
    SORT t_receivers BY receiver.
      DELETE ADJACENT DUPLICATES FROM t_receivers COMPARING receiver.
      IF NOT t_receivers[] IS INITIAL.
        CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
             EXPORTING
                  document_data              = wal_docdata
                  put_in_outbox              = c_check
             TABLES
                  packing_list               = t_objpack
                  contents_txt               = t_content_txt
                  receivers                  = t_receivers
             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.
    SMS: refer to this Weblog in SDN.
    <a href="/people/durairaj.athavanraja/blog/2005/07/12/send-sms-to-india-from-abap Post for SMS prog</a>
    Hope This Helps
    Anirban

  • Error message on email send attempt

    Hi all
    I have suddenly started getting email send failures messages on my iCloud account.  It doesn't seem to be for all messages and I have not changed any settings. The delivery failure message is as listed below:
    Your message cannot be delivered to the following recipients:
    Recipient address: <e.g. target email address>
    Reason: Rejection greeting returned by server.
    Diagnostic code: smtp;554-public.mx5gb1.int.opaltelecom.net Your access to this mail system has been rejected due to the sending MTA's poor reputation. If you believe that this failure is in error, please contact the intended recipient via alternate means.
    Remote system: dns;mxgb1.opaltelecom.net (TCP|17.172.81.1|55516|62.24.139.61|25) (public.mx5gb1.int.opaltelecom.net)
    I would appreciate some advice or suggested solutions as a web search showed it may have been something to with shared services, which is beyond my knowledge base.
    Many thanks
    Dave

    quasar44 wrote:
    After setting up details of my account on outlook, I get an error message on the attempt to send an email.  The message says authentication required.  What do I do now?? ...
    In Outlook 2010, you need to dig into your account settings  to determine what type of authentication is required.  Look into "File/Account Settings/Change .../More Settings ..." and so on and eventually under "Advanced," see if you are using port 995 and if the SSL check box is indeed checked.
    Note that this is what works for me, and you may find that details are slightly different on your setup.  For additional ideas and suggestions, check this forum post:
     http://forums.verizon.com/t5/Verizon-net-Email/Microsoft-Outlook-email-problem/m-p/462053#M8856

  • Chatter email 502 5.5.1 Unrecognized command Sending Error

    I have a Treo 680 (Rogers) that I have been successfully using Chatter email with for about 6 months (multiple email accounts).  No changes have been made in configuration however today when I try to send email messages I'm receiving a 502 5.5.1 Unrecognized command Sending Error message and can not send email messages on any accounts.  I can still receive however.   Any suggestions?
    Post relates to: Treo 680 (Rogers)

    Hi Paul,
    May you please guide me thru the SMTP configuration.
    By the way, I tried to implement the APEX_MAIL and it's delivering the mails internally but not externally. When I check the Mail log all mails appear but when I check my yahoo account there's no mail delivered but in the internal mail there's mail delivered.
    Here's my application level On Demand process code (On Demand: Run this application process when requested by a page process)DECLARE    l_id number;    l_index number;    l_vc_arr2    APEX_APPLICATION_GLOBAL.VC_ARR2;
    BEGIN  l_id := APEX_MAIL.SEND(p_to => :P19_EMAIL,            
    p_from => :P19_FROM,             
    p_subj => :P19_SUBJECT,             
    p_body => :P19_BODY); 
    l_vc_arr2 := APEX_UTIL.STRING_TO_TABLE(:P92_IMAGE); 
    FOR i_index IN 1..l_vc_arr2.count LOOP    
    FOR c1 in  (select filename, photo, mimetype from employee_tb
          where emp_id = l_vc_arr2(i_index))
    loop  APEX_MAIL.ADD_ATTACHMENT( p_mail_id    => l_id,                               
    p_attachment => c1.photo,                               
    p_filename   => c1.filename,                               
    p_mime_type  => c1.mimetype);   
    END LOOP c1; 
    END LOOP i_index; 
    COMMIT;END;
    -- push the e-mail queue for immediate delivery:
    begin
    wwv_flow_mail.push_queue(
       P_SMTP_HOSTNAME => 'mail host',
       P_SMTP_PORTNO => '#'
    end;Kind regards
    Mel

  • Why do i get an error 66 when i sent a mail use SMTP Email Send File.vi?

            When i use SMTP Email Send File.vi,it works very well for some special mail sever such as the sever of my company,For others,while debugging it ,i use a free email address from 163 (http://mail.163.com/) or Sina(http://mail.sina.com.cn/) i get an error 66.I use the default sever port number(incoming mail sever(POP3):110,Outgoing mail sever(SMTP):25).
     Server information for 163:
       incoming mail sever(POP3)op3.163.com
       Outgoing mail sever(SMTP):smtp.163.com
     Server information for Sina:
       incoming mail sever(POP3)op3.sina.com
       Outgoing mail sever(SMTP):smtp.sina.com
    Thank you!

    According to the LabVIEW documentation error code 66 is: "The network connection was closed by the peer", which is not very helpful. There could be a number of reasons why this happens. Could also be that the server was down. I had trouble connecting to one of the sites you listed. Does the server require authentication? I tried the links you provided, but they're in a foreign language and I can't read them, so I can't tell. If authentication is required, then the SMTP VIs provided with LabVIEW won't work since they don't handle authentication. If the server requires authentication you can try the updated OpenG SMTP VIs that I had posted in this thread.

  • Send a email while error handler Oracle Service bus 11g

    I need to be send an email while error handler in proxy service message flow.
    Error Handler Node -> stage -> report action
    before or after report action, I need be to send a email
    Could you please help this issue? I appreciate your help.
    Thanks,
    sdev

    Add Alert to your Error Handler and set Alert Destination with your email set in.
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/operations/monitoring.html#wp1108089
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/consolehelp/alertdestinations.html

Maybe you are looking for