Is ironport blocking emails with large attachements?

I have recently adjusted my exchange server to accept attachments as large as 25mb but still when I tried to send an email with an attachment of 15mb it still bounce back as 552 552 #5.3.4 message size exceeds limit (state 18).
I was wondering if need to adjust anything on my Ironport to make sure it allows those large emails. If so, I hope somebody could help out on how to do this adjustment.
thanks,
brian

I sort out the issue..
In microsoft exchange everything is configured well, to send and receive upto 25 MB. Usermail box permission also set for sending 25 MB attachment.  Evenif I can receive 15 MB attachment, it resulting in error while sending.
This was the error:-
mail.wrd.ae #550 5.3.4 SMTPSEND.OverAdvertisedSize; message size exceeds fixed maximum size ##
This message is generated by HUB-CASH server
No clue that email is screening by ironport.
Solution:-
Increase the message size limit in ironport
Mail Policies-> Mail Flow Polices -> Relay -> Max Message Size ->25 M
This relay is used for outgoing emails. (Note that the title for that page is confusing: Mail Flow Policy: RELAY - IncomingMail)

Similar Messages

  • Can't receive email with large attachment​. why?

    A friend sends an email to me with a large attachment. It is rejected and he gets the following response.
    {edited for privacy}:
    206.46.232.11 failed after I sent the message.
    Remote host said: 552 5.3.4 a message size of 20483 kilobytes exceeds the size limit of 20480 kilobytes computed for this transaction
    The message is small, but the attachment is large. Is something wrong or am I really limited to receiving relatively tiny attachments?
    My Yahoo email account receives the same email with no problem at all. Can someone tell me what's up?

    First of all, I wouldn't consider 20 MB to be "relatively tiny," but I suppose that's open to interpretation.
    Taken from Verizon's Support site:
    How large of an attachment can I send or receive through email?
    When you are using email, the Verizon web-based email application, you can send attachments that are up to 8 MB (megabytes) in size. Emails sent using 3rd party email programs like Outlook, Lotus Notes, or Eudora, however; can contain attachments up to 20 MB....
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
    "All knowledge is worth having."

  • Imap don't see mails with large attachment

    Hello,
    my email is set to imap so I get the emails on my iphone and on my mac and all should be synchron but there is following problem:
    Emails with large attachment are not shown on my imac. I got the Email on my iphone. The mail is on the server when I look over web, but the mail is not on the mailprogram shown on the imac. On the parallel outlook it is shown. So I think there is somewhere a setting where large attachment will not be downloaded but then the header should be shown but it isn't.
    What could be the reason for the missing download of large attachment in a email in a imap account on mail in mavericks
    Thank you and best regards....and sorry for my broken english
    Michael

    Originally Posted by laurabuckley
    Hi Rupert,
    Sorry about the delayed response.
    When you login with your "rupert" account on the GroupWise client, is your Mailbox folder directly in the Root (home folder) i.e. not under some other folder?
    Perhaps to be on the safe side, run a GWCheck against your user account.
    Use either the standalone version of GWCheck or run the same check from ConsoleOne with following options (described here for a standalone version):
    1. Database type -> Post Office
    2. Database Path -> use a browse button to navigate in a location where is a wphost.db, the Post Office database
    3. Post Office Name -> fill in a Post Office name.
    4. Object type -> select User/Resource and type either a MailboxID or directly a user database file name.
    5. Action -> leave default Analyze/Fix Databases.
    6. Activate (only) Contents and Fix problems check boxes.
    7. Database tab -> activate only the User option
    8. Misc tab -> here type a string resfldr (or use alias string folderreset)
    9. Run.
    Let us know how it goes.
    Cheers,
    YESS!!
    Thank you very much!!!

  • When I send an email with an attachment larger than 1 MB in iMail, the email takes forever to be sent.

    When I send an email with an attachment larger than 1 MB from iMail, the email gets suck in the sent folder.  This happens no matter if I am using wireless or using an ethernet connection. 

    Many email programs, including Mail, will send data up to a certain size.
    The good new - there are some solutions. You can compress the file and make the email much faster to send; you can download a free application like Compress, which also allows you to uncompress. Or, you can send your email via your webmail connection (your ISP, like ATT); if you manage your email through your desktop computer, the email should be sent just fine.
    Apple Mail is designed for smaller documents, well under 1mb.

  • Hello, i opened an email with photo attachment, it is still trying to download and has blocked my ipad2. I foolishly turned it off and now can`t turn it on as it just shows the spinning circle icon 0 help- novice user here

    Help< I opened an email with photo attachements and it is taking all day to download, I cant delete it,  it just stops mail from working. Everything else was fine till i thought turning off the ipad and trying again would work. It didn`t, I cant turn it on at all - itjust shows the spinning wheel (loading?) icon and nothing else. Being a novice and ive only had this for a couple of weeks i need help!

    Have you tried a reset ? Press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider if it appears), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • If I want to forward an email with an attachment (data charges?)

    Hi all,
    I wonder if anyone can help. I currently have a BlackBerry and use it all the time. I would like to move over to a iPhone as it is far superior at viewing attachements but there is one thing that is stopping me and I would like to know if the below is true or not.
    I recieve an email on my blackberry with a 10MB attachment. I see that the attachment is large so i choose not to open the attachment as I already know what the attachment is but i want to forward the email with the attachment to my mate. i am told that if i do not download the attachment and just forward the message on the attachment is not downloaded as the file is already present on my exchange server which is great.
    Now this is where I get confused. I have been told that if i do the same thing on an iPhone that the iphone must download the file in all situations to be able to be forwarded on. This obviosuly will cuase issues when abroad and would be very expensive. Is this true? I have been told from various people yes and no but is there anyone out there whos a proper teccy than knows?
    Thanks

    The problem here is that the server you get the message/attachment from (where it is stored), is not necessarily the same one it get sent through.
    So, the two servers would have to know about each other, and have a predefined mechanism (protocol) to transfer the message between each other, without the client having to do anything.
    Apple could do this, if they hosted the mailboxes and also the sending servers, but if they have no control over whose email servers you use, there's nothing that Apple can do about it.
    In the case of connecting to a Blackberry or Microsoft Exchange service, the creators of those systems have solved it, but only if you use their proprietary client protocols (if you read email from a Microsoft server using POP3 or IMPA4, and send via SMTP, then you still end up downloading the whole thing to the client device, and then uploading the whole thing again when sending).

  • Mail only downloads headers of emails with large attachments

    Hi-
    I have Maverick.
    My mail is delivered though an Exchange Server.
    At present emails download fine UNLESS they have a large attachment.
    If they have a large attachment, the email will appear in the central "preview" pane with the address of the sender and the subject line, but will otherwise not download.
    The email will only start to download once I click on the email in the preview pane. This can be laborious if I have 50+ emails with large attachments.
    How do I configure mail so that it will download the emails, irrespective of the size of the attachments.
    Thanks,
    Richard

    Some problems with Exchange mail have been solved by disabling Autodiscovery.

  • Emails with large attachments failing to download.

    I have a problem downloading emails with large attachments (6500KB plus) in Incredimail which I believe is a McAfee NetProtect Plus conflict. When downloading Incredimail shows "RECEIVING", number of emails and the percentage downloaded. With large files it will hang flashing RECEIVING but not increasing the percentage. Task manager shows Incredimail using lots of CPU and also McAfee coming in and out but no traffic on the network.
    The only way to stop this is to cancel receiving and try again. Sometimes this clears it, after two or three attempts. Sometime I have to log onto BT Yahoo mail and delete the large attachment. A side result is that I get emails duplicated because they are still on the host when I cancel and are thus downloaded again. If I boot in safe mode and just start Incredimail then everything downloads in seconds, so I am convinced that it is McAfee scanning that is causing the problem.
    Any suggestions please?

    You are not alone experiencing problems downloading attachments to MS Outlook etc see:-
    Problem with large email downloads in Outlook Expr... 
    I have just been told by the helpdesk there is a 10MB limit, so you should not have a problem.
    Duplicate e-mails are due to session not completing. I have had this problem as well.

  • Emails with large attachments not arriving

    We have an open limit on email size but consistently emails with large attachments do not arrive at the destination (even to the same domain). They do go into the clients sent box. Any thoughts on how to trouble shoot? thanks

    John H wrote:
    The command tells me I have 0 message size limit
    The limit in the admin server is set to 1000MB
    For gigabyte-class file transfers, you'll really want to use a different path — that message size is easily approaching a denial-of-service scale message size, if not exceeded it.
    If you really want to try doing attachments of that size and all the intervening SMTP servers support it, then try setting the message size manually via something like the (untested) following commands:
    sudo postconf -c /Library/Server/Mail/Config/postfix  message_size_limit  -e  "message_size_limit = 10485760"
    sudo postfix reload
    Or to whatever specific attachment size you want to try to use.  The unit is in bytes.
    The other Postfix setting that tends to get involved here is mailbox_size_limit, as well as whatever quotes might be in use for the specific users.

  • I have an email containing large attachment.  How do I transfer to desktop please?

    I have received an email with large document S attachment. How do I transfer the document to desktop please?

    1. Forward the email to an account you can open on a desktop.
    2. If you're using iCloud Mail you can access the mail from this site (https://www.icloud.com/) on a desktop web browser to download it.
    3. If you're using any other mail service on your iPad then you can open that specific service in a web browser on the desktop and download the attachment from there.
    Hope this helped!

  • Email with text attachment with line width 1250

    Dear all,
                 I want to send the email with text attachment whose line width in text file is 1250. Kindly let me know how to send email attachment with more than 255 line width.
    Regards,
    Manoj
    Moderator Message: Frequently Asked Question. Please search for available information before posting.
    Edited by: kishan P on Apr 29, 2011 2:48 PM

    Hi,
    What ever text you are sending in the email, create a standard text for it using tcode SO10. In the program use the FM READ_TEXT to get the data into internal table which will be of length 132 char. If you want line widht of 255 chars convert using FM SX_TABLE_LINE_WIDTH_CHANGE as below,
    CALL FUNCTION 'SX_TABLE_LINE_WIDTH_CHANGE'
        EXPORTING
          line_width_dst              = '255'
        TABLES
          content_in                  =  it_data
          content_out                 = it_mess_att
        EXCEPTIONS
          err_line_width_src_too_long = 1
          err_line_width_dst_too_long = 2
          err_conv_failed             = 3
          OTHERS                      = 4.
    Use FM SO_NEW_DOCUMENT_ATT_SEND_API1 to send email.
    Hope this will help you.
    regards,
    Tulasi.

  • I have Windows 7, Microsoft Outlook and PSE 13. I have used the "Share photos as embedded images" feature frequently, but today when I went to use it, it wasn't there, only the option to send email with files attached. How do I get back the ability to sen

    I have Windows 7, Microsoft Outlook and PSE 13. I have used the "Share photos as embedded images" feature frequently, but today when I went to use it, it wasn't there, only the option to send email with files attached. How do I get back the ability to send emails with photos embedded. I like adding the frames and backgrounds and I think it's easier for recipients to look at the photos. Thanks for any suggestions of things to try.
    Gail

    I had a similar problem in that my wife's iphone 5 could not send pics with imessage.  Had to set the settings to default to SMS or whatever.  After laboring many hours on the web I coincidentally was on the phone with the internet people to question my internet speed.  They changed the router channel, which is something that I am capable of doing myself.  After that, the pics go over imessage.  My own Iphone didn't have the problem.  We are both latest IOS 7.0.6.

  • Issue in sending the email with XL attachment in ECC version

    Hi,
    I have an issue with sending the email with XL attachment. My program is sending a mail to the receiver with XLS as attachment. Recently we have migrated from 4.6B to ECC version. Same code was worked in 4.6B.But it is not working in ECC version.When i try to open the attachment, i get a Dialog Box with the following message
    "The file is not in a recognizable format.
    1. if you know the file is from another program whih is incompatible with Microsoft excel,click cancel,then open this file in its original application
    2.If you suspect the file is damaged, click help for more information about solving theproblem.
    3.if you still want to see what text is contained in the file, click OK.Then click the text import wizard. "
    when i click OK, the excel sheet is opening with all required data.
    Can anyone kindly tell me why this is happening.
    I am also attaching part of the coding related to this requirement.
    *&      Form  BUILD_XLS_DATA_TABLE
          text
    -->  p1        text
    <--  p2        text
    FORM build_xls_data_table.
      DATA: w_total(13),
      w_clabs(13),
      w_cinsm(13),
      w_ceinm(13),
      w_cretm(13),
      w_cspem(13),
      w_cumlm(13),
      w_exp_date(8),
      w_v_totalp(13),
      w_min_rem(8),
      w_ersda(10),
      w_hsdat(10),
      w_vfdat(10),
      w_ship_date(10),
      w_plnmg(13),
       w_mhdrz(4).
      CLEAR: w_total, w_clabs, w_cinsm, w_ceinm, w_cspem, w_exp_date,
      w_v_totalp, w_min_rem, w_ersda, w_hsdat, w_vfdat, w_ship_date,
      w_plnmg, w_mhdrz.
      w_total = it_batch1-total.
      w_clabs = it_batch1-clabs.
      w_cinsm = it_batch1-cinsm.
      w_ceinm = it_batch1-ceinm.
      w_cspem = it_batch1-cspem.
      w_cumlm = it_batch1-cumlm.
      w_cretm = it_batch1-cretm.
      w_exp_date = it_batch1-exp_date.
      w_v_totalp = it_batch1-v_totalp.
      w_min_rem = it_batch1-min_rem.
      w_plnmg = it_batch1-plnmg.
      w_mhdrz = it_batch1-mhdrz.
      CONCATENATE it_batch1-ersda6(2) it_batch1-ersda4(2)
                  it_batch1-ersda+0(4) INTO w_ersda SEPARATED BY '.'.
      CONCATENATE it_batch1-hsdat6(2) it_batch1-hsdat4(2)
                  it_batch1-hsdat+0(4) INTO w_hsdat SEPARATED BY '.'.
      CONCATENATE it_batch1-vfdat6(2) it_batch1-vfdat4(2)
                  it_batch1-vfdat+0(4) INTO w_vfdat SEPARATED BY '.'.
      CONCATENATE it_batch1-ship_date6(2) it_batch1-ship_date4(2)
                  it_batch1-ship_date+0(4) INTO w_ship_date SEPARATED BY '.'
      CONCATENATE
      it_batch1-werks it_batch1-mtart it_batch1-matnr it_batch1-maktg
    it_batch1-prdha it_batch1-prctr it_batch1-ktext  it_batch1-dispo
      it_batch1-charg it_batch1-lgort it_batch1-herkl w_clabs
      w_cinsm w_ceinm w_cretm w_cspem
      w_cumlm w_total  it_batch1-meins  it_batch1-v_spr_unit
      w_v_totalp it_batch1-waers w_plnmg  it_batch1-meins
      w_ersda w_hsdat w_vfdat  w_exp_date
       w_ship_date  w_mhdrz  w_min_rem it_batch1-zlifer
       it_batch1-doknr it_batch1-dokar it_batch1-doktl  it_batch1-dokvr
               INTO L_STRING SEPARATED BY CON_TAB.
                  INTO l_string SEPARATED BY cl_abap_char_utilities=>horizontal_tab.
      WHILE l_string <> space.
        CALL FUNCTION 'TEXT_SPLIT'
          EXPORTING
            length       = 255
            text         = l_string
            as_character = 'X'
          IMPORTING
            line         = it_attach
            rest         = l_string.
        IF l_string = space.
       CONCATENATE IT_ATTACH CON_CRET INTO IT_ATTACH.
          CONCATENATE it_attach cl_abap_char_utilities=>cr_lf INTO it_attach.
          APPEND it_attach.
          CLEAR it_attach.
        ELSE.
          APPEND it_attach.
          CLEAR it_attach.
        ENDIF.
      ENDWHILE.
    move l_string to it_attach .
    CONCATENATE it_attach cl_abap_char_utilities=>cr_lf INTO it_attach.
    APPEND it_attach.
    CLEAR it_attach.
    ENDFORM.                    " BUILD_XLS_DATA_TABLE
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
          text
    -->  p1        text
    <--  p2        text
    FORM send_file_as_email_attachment.
      DATA:w_length TYPE i.
      DATA:  w_cnt TYPE i,
              w_sent_all(1) TYPE c,
              w_doc_data LIKE sodocchgi1,
              gd_error    TYPE sy-subrc,
              gd_reciever TYPE sy-subrc,
              t_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE.
    Fill the document data.
      w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
    w_doc_data-obj_langu = sy-langu.
    w_doc_data-obj_name  = 'SAPRPT'.
    w_doc_data-obj_descr = text-034 .
    w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
      CLEAR w_doc_data.
    DESCRIBE TABLE it_attach LINES w_cnt.
      DESCRIBE TABLE it_message LINES w_cnt.
      READ TABLE it_message INDEX w_cnt.
    w_length = STRLEN( it_attach ).
      w_doc_data-doc_size =
         ( w_cnt - 1 ) * 255 + STRLEN( it_message ).
      w_doc_data-obj_langu  = sy-langu.
    w_doc_data-obj_name   = 'SAPRPT'.
      w_doc_data-obj_descr  = text-034.
      w_doc_data-sensitivty = 'F'.
      CLEAR t_attachment.
      REFRESH t_attachment.
      t_attachment[] = it_attach[].
    describe the body of the message
      CLEAR t_packing_list.
      REFRESH t_packing_list.
      t_packing_list-transf_bin = space.
      t_packing_list-head_start = 1.
      t_packing_list-head_num = 0.
      t_packing_list-body_start = 1.
    ***Start of changes by 501507008 on 29.01.2009
      t_packing_list-obj_descr  = 'MAIL BODY'.
    ***End of changes by 501507008 on 29.01.2009
      DESCRIBE TABLE it_message LINES t_packing_list-body_num.
      t_packing_list-doc_type = 'RAW'.
      APPEND t_packing_list.
    Create attachment notification
      t_packing_list-transf_bin = 'X'.
      t_packing_list-head_start = 1.
      t_packing_list-head_num   = 1.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
      t_packing_list-doc_type   =  'XLS'.
      t_packing_list-obj_descr  =  text-034.
      t_packing_list-obj_name   =  'filename'.
      t_packing_list-doc_size   =  t_packing_list-body_num * 255.
      APPEND t_packing_list.
    Add the recipients email address
      CLEAR t_receivers.
      REFRESH t_receivers.
      LOOP AT it_adr6.
        t_receivers-receiver = it_adr6-smtp_addr.
        t_receivers-rec_type = 'U'.
        t_receivers-com_type = 'INT'.
        t_receivers-notif_del = 'X'.
        t_receivers-notif_ndel = 'X'.
        APPEND t_receivers.
      ENDLOOP.
    CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
       EXPORTING
         document_data              = w_doc_data
         put_in_outbox              = 'X'
         sender_address             = ' '
         sender_address_type        = ' '
         commit_work                = 'X'
       IMPORTING
         sent_to_all                = w_sent_all
       TABLES
         packing_list               = t_packing_list
         contents_bin               = t_attachment
         contents_txt               = it_message
         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.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data                    = w_doc_data
         put_in_outbox                    = 'X'
      commit_work                      = ' '
    IMPORTING
      sent_to_all                      =
      new_object_id                    =
    tables
            packing_list               = t_packing_list
            contents_bin               = t_attachment
            contents_txt               = it_message
            receivers                  = t_receivers
      contents_hex                     =
      object_para                      =
      object_parb                      =
       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.
      IF sy-subrc <> 0.
      ENDIF.
    ENDFORM.                    " SEND_FILE_AS_EMAIL_ATTACHMENT

    Hi,
    could you tell me which opeion should i select in SCOT under INT node. I have tried with diffrent options. but no luck.
    SAPscript/Smart Forms  - No Conversion
    ABAP List                     - No Conversion
    Business Object/Link     - No Conversion
    RAW Text                     - No Conversion

  • How to send an email with an attachment to the customers email address.

    Hi friends,
    How to send an email with an attachment to the customers email address.
    the attachment will be in doc format.
    Having an Header
    the data which i am sending must be in a TABLE format
    with 5 columns.
    and each column must have a column heading
    Please guide me.
    Thanks in Advance,
    Ganesh.

    *& Report  ZEMAIL_ATTACH                                               *
    *& Example of sending external email via SAPCONNECT                    *
    REPORT  ZEMAIL_ATTACH                   .
    TABLES: ekko.
    PARAMETERS: p_email   TYPE somlreci1-receiver .
    *Here get the values of mail from the table adn6 for the customer address.
    TYPES: BEGIN OF t_ekpo,
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
    END OF t_ekpo.
    DATA: it_ekpo TYPE STANDARD TABLE OF t_ekpo INITIAL SIZE 0,
          wa_ekpo TYPE t_ekpo.
    TYPES: BEGIN OF t_charekpo,
      ebeln(10) TYPE c,
      ebelp(5)  TYPE c,
      aedat(8)  TYPE c,
      matnr(18) TYPE c,
    END OF t_charekpo.
    DATA: wa_charekpo TYPE t_charekpo.
    DATA:   it_message TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
                    WITH HEADER LINE.
    DATA:   it_attach TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
                    WITH HEADER LINE.
    DATA:   t_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
            t_contents LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            t_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
            t_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            t_object_header LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            w_cnt TYPE i,
            w_sent_all(1) TYPE c,
            w_doc_data LIKE sodocchgi1,
            gd_error    TYPE sy-subrc,
            gd_reciever TYPE sy-subrc.
    *START_OF_SELECTION
    START-OF-SELECTION.
      Retrieve sample data from table ekpo
      PERFORM data_retrieval.
      Populate table with detaisl to be entered into .xls file
      PERFORM build_xls_data_table.
    *END-OF-SELECTION
    END-OF-SELECTION.
    Populate message body text
      perform populate_email_message_body.
    Send file by email as .xls speadsheet
      PERFORM send_file_as_email_attachment
                                   tables it_message
                                          it_attach
                                    using p_email
                                          'Example .xls documnet attachment'
                                          'DOC'
                                          'filename'
                                 changing gd_error
                                          gd_reciever.
      Instructs mail send program for SAPCONNECT to send email(rsconn01)
      PERFORM initiate_mail_execute_program.
    *&      Form  DATA_RETRIEVAL
          Retrieve data form EKPO table and populate itab it_ekko
    FORM data_retrieval.
      SELECT ebeln ebelp aedat matnr
       UP TO 10 ROWS
        FROM ekpo
        INTO TABLE it_ekpo.
    ENDFORM.                    " DATA_RETRIEVAL
    *&      Form  BUILD_XLS_DATA_TABLE
          Build data table for .xls document
    FORM build_xls_data_table.
      CONSTANTS: con_cret TYPE x VALUE '0D',  "OK for non Unicode
                 con_tab TYPE x VALUE '09'.   "OK for non Unicode
    *If you have Unicode check active in program attributes thnen you will
    *need to declare constants as follows
    *class cl_abap_char_utilities definition load.
    *constants:
       con_tab  type c value cl_abap_char_utilities=>HORIZONTAL_TAB,
       con_cret type c value cl_abap_char_utilities=>CR_LF.
      CONCATENATE 'EBELN' 'EBELP' 'AEDAT' 'MATNR'
             INTO it_attach SEPARATED BY con_tab.
      CONCATENATE con_cret it_attach  INTO it_attach.
      APPEND  it_attach.
      LOOP AT it_ekpo INTO wa_charekpo.
        CONCATENATE wa_charekpo-ebeln wa_charekpo-ebelp
                    wa_charekpo-aedat wa_charekpo-matnr
               INTO it_attach SEPARATED BY con_tab.
        CONCATENATE con_cret it_attach  INTO it_attach.
        APPEND  it_attach.
      ENDLOOP.
    ENDFORM.                    " BUILD_XLS_DATA_TABLE
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
          Send email
    FORM send_file_as_email_attachment tables pit_message
                                              pit_attach
                                        using p_email
                                              p_mtitle
                                              p_format
                                              p_filename
                                              p_attdescription
                                              p_sender_address
                                              p_sender_addres_type
                                     changing p_error
                                              p_reciever.
      DATA: ld_error    TYPE sy-subrc,
            ld_reciever TYPE sy-subrc,
            ld_mtitle LIKE sodocchgi1-obj_descr,
            ld_email LIKE  somlreci1-receiver,
            ld_format TYPE  so_obj_tp ,
            ld_attdescription TYPE  so_obj_nam ,
            ld_attfilename TYPE  so_obj_des ,
            ld_sender_address LIKE  soextreci1-receiver,
            ld_sender_address_type LIKE  soextreci1-adr_typ,
            ld_receiver LIKE  sy-subrc.
      ld_email   = p_email.
      ld_mtitle = p_mtitle.
      ld_format              = p_format.
      ld_attdescription      = p_attdescription.
      ld_attfilename         = p_filename.
      ld_sender_address      = p_sender_address.
      ld_sender_address_type = p_sender_addres_type.
    Fill the document data.
      w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      w_doc_data-obj_langu = sy-langu.
      w_doc_data-obj_name  = 'SAPRPT'.
      w_doc_data-obj_descr = ld_mtitle .
      w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
      CLEAR w_doc_data.
      READ TABLE it_attach INDEX w_cnt.
      w_doc_data-doc_size =
         ( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
      w_doc_data-obj_langu  = sy-langu.
      w_doc_data-obj_name   = 'SAPRPT'.
      w_doc_data-obj_descr  = ld_mtitle.
      w_doc_data-sensitivty = 'F'.
      CLEAR t_attachment.
      REFRESH t_attachment.
      t_attachment[] = pit_attach[].
    Describe the body of the message
      CLEAR t_packing_list.
      REFRESH t_packing_list.
      t_packing_list-transf_bin = space.
      t_packing_list-head_start = 1.
      t_packing_list-head_num = 0.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE it_message LINES t_packing_list-body_num.
      t_packing_list-doc_type = 'RAW'.
      APPEND t_packing_list.
    Create attachment notification
      t_packing_list-transf_bin = 'X'.
      t_packing_list-head_start = 1.
      t_packing_list-head_num   = 1.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
      t_packing_list-doc_type   =  ld_format.
      t_packing_list-obj_descr  =  ld_attdescription.
      t_packing_list-obj_name   =  ld_attfilename.
      t_packing_list-doc_size   =  t_packing_list-body_num * 255.
      APPEND t_packing_list.
    Add the recipients email address
      CLEAR t_receivers.
      REFRESH t_receivers.
      t_receivers-receiver = ld_email.
      t_receivers-rec_type = 'U'.
      t_receivers-com_type = 'INT'.
      t_receivers-notif_del = 'X'.
      t_receivers-notif_ndel = 'X'.
      APPEND t_receivers.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
           EXPORTING
                document_data              = w_doc_data
                put_in_outbox              = 'X'
                sender_address             = ld_sender_address
                sender_address_type        = ld_sender_address_type
                commit_work                = 'X'
           IMPORTING
                sent_to_all                = w_sent_all
           TABLES
                packing_list               = t_packing_list
                contents_bin               = t_attachment
                contents_txt               = it_message
                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.
    Populate zerror return code
      ld_error = sy-subrc.
    Populate zreceiver return code
      LOOP AT t_receivers.
        ld_receiver = t_receivers-retrn_code.
      ENDLOOP.
    ENDFORM.
    *&      Form  INITIATE_MAIL_EXECUTE_PROGRAM
          Instructs mail send program for SAPCONNECT to send email.
    FORM initiate_mail_execute_program.
      WAIT UP TO 2 SECONDS.
      SUBMIT rsconn01 WITH mode = 'INT'
                    WITH output = 'X'
                    AND RETURN.
    ENDFORM.                    " INITIATE_MAIL_EXECUTE_PROGRAM
    *&      Form  POPULATE_EMAIL_MESSAGE_BODY
           Populate message body text
    form populate_email_message_body.
      REFRESH it_message.
      it_message = 'Please find attached a list test ekpo records'.
      APPEND it_message.
    endform.                    " POPULATE_EMAIL_MESSAGE_BODY
    regards,
    venkat.

  • Adobe Photoshop Elements 13 won't launch email with photos attached, why?

    Adobe Photoshop Elements 13 won't launch email with photos attached, why?

    Gordon,
    Are you trying to use email functionality in Elements Organizer and then witnessing this problem.
    If this is the case, I would recommend you to go through this article once and see i it helps:
    Elements Organizer Help | Share files and slideshows by email
    Thanks,
    Anwesha

Maybe you are looking for

  • Inserting images in Excel

    In PL / Sql generated report file, format excel: <Row> <Cell> -</CELL> <Cell> -</CELL> </ROW> How can insert in this file picture? Is it possible in this file to put binary code, and that when opening a file Excel showed the picture. Thanks Edited by

  • Authentication error as sysdba privilege

    Friends , In my Redhat Ent Linux 5 server I have to face the below problem while I am connectiong to the database as sysdba privileges : [oracle@localhost ~]$ sqlplus / as sysdba SQL*Plus: Release 10.2.0.4.0 - Production on Thu Aug 27 13:41:07 2009 C

  • DBD 1.03 hangs in make test on Red Hat 6.0 with 8i

    DBD-Oracle-1.03 is hanging running test.pl in make test. top showed perl eating 95%+ cpu usage, and strace showed no system calls being called. I first encountered this identical hang with DBI-1.06.tar and DBD-Oracle-0.61, but upgraded them before re

  • How to do a web tabke query in Numbers 09

    Is there a way to import a table from a website and link the table so the data can be updated? This is a function built into Excel "Import web query". Thanks!

  • HP printer is copying a black page with dark lines

    If someone can help to determine why my HP is copying a black page. Recently the company upgraded to Windows 7, and I am not sure if that is what caused the problem with copying. Today I uninstalled and then reinstalled the printer using the CD. That