Email sending with attachment

Hello,
I have the following problem :
I have an .CSV file in a specific Directory, an I want to attached that file in a email in order to send the file to a specific email address.
The file dimension can be over 200 MB, and my question is if it's exists some restrictions about the file length .
Please help me with some documentation or something code which fits with my problem.
Thank you in advance !
Best regards,
Daniel.

Hüseyin Dereli wrote:
> Hi ,
>
> You can use
>
> CL_ABAP_GZIP_BINARY_STREAM
> CL_ABAP_GZIP_TEXT_STREAM
>
> to compress your data. Sending that kind of large file via email seems not effective even there are no restrictions. There could be some other way for the related process.
>
>
> Regards
Hi Daniel,
I must agree with Hüseyins Statement. I mean do you ever experienced that you have found an 200 mb e-mail in your mailbox?
I would say you should use the BCS-Class to send an e-mail or some kind of FM like SO_DOCUMENT_SEND_API1.
Maybe you can find some information of how to send e-mail in this Thread:
How to add attachments to a mail

Similar Messages

  • Sending (imap) email draft with attachment created on computer from iphone

    Here's one situation:
    I type up an email and attach an excel file to it, then save it as a draft (in my @me.com drafts).
    The draft email is now visible in the drafts folder on all of my devices: apple mail on my computer that I originally used, my iphone mail drafts, and also by signing on to www.me.com and opening my mail drafts.
    one problem is when you open up an email draft on me.com that was created on a computer mail.app, only to see the message body text lose all of its formatting and appear to be jumbled html.
    My main concern / question is:
    The email draft with attachment appears to be in tact on me.com and on the original computer, but NOT on the iphone. On the iphone, the attachment seems to disappear. Well, not disappear, because it gets replaced by a small rectangle with a blue question mark in it. Basically you cannot view the attachment on the iphone. When you try to send this draft from the iphone, it works, but with jumbled text & no attachment.
    Does anyone have similar problems???

    You are correct about the iDisk app as I have started to use that a little bit more for the sharing purposes.
    However my concern wasn't over the simple task of getting excel files onto the iPhone. It's the fact that email attachments that are either in drafts, OR ALSO if you move a message (with an attachment) into an IMAP email folder, are completely lost when it comes to viewing or sending them from the iPhone. It's stupid - the attachments are still there on my computer (and I think they are still there on the me.com mail viewer as well).
    Sometimes I move certain important work emails (that have attachments) into an IMAP email folder so they can be accessed from anywhere. The fact that the iPhone shows the paperclip and placeholder bit not the actual file is maddening. At least If the attachment was actually SENT from the iPhone, I wouldn't even care about not being able to view it (or even view the File name that is also lost).

  • Open Default Email Editor with attachment

    How I open default email editor with attachment. Now I can just open the email editor with mailto,subject,body BUT i cant open it with a attachment, which is in a server.

    es5f2000 wrote:Please don't resurrect zombie threads for "me too" style posts.Hmm, I didnt know this was wrong..
    es5f2000 wrote:If you can use 1.6, Desktop.mail() will at least open the mail application, though it won't let you auto-attach. If you must use 1.5, you may have to hand-roll a solution for each environment you support. I'm not personally aware of any 1.5-compliant library that provides this functionality.Since youve replied, the 1.6 solution of opening an email but without an attachment is not good much use to me, and the creation of various support files and putting them into an attachment is the part of the process that the user has most problems with. So either I could either just create the attachment somewhere and let the customer handle the whole email side of things OR I could make use of the fact that my customers email address is embedded in their license and that an smtp server can be used to send an email from anyone, to open a form for the user to write a problem description and then send it from within my application, but the trouble with this approach is they can't have full control over the email they send.

  • My outlook is sending two invites in the icloud calandar. How can I stop this? I ony want the email send with my email address not the apple email

    My MS outlook on the PC is sending two invites in the icloud calandar. How can I stop this? I ony want the email send with my email address not the apple email.

    My phone is the 4.  Not the 4s. And I went there but it's nowhere the option to delete from server.
    I only see: ask before deleting and it's on. 

  • Vendor payment Advice Email Sending with PDF

    Hi Experts,
    I need to develop a program when the user completes his transaction from F110.
    It need to trigger a email to vendor about the payment terms along with the Reference Number & Invoice no. & Currency, as a PDF Attachment.
    I have searched in the SCN before posting and I got lot of good results but I not found any PDF attachment and any coding,
    Please help me out.
    this is the BTE asked to implement,
    ZSAMPLE_PROCESS_00002040
    After implementing what to do.
    Server is comfigured well and we have a PO auto email now in the system.
    need a new program to send PDF attachment to vendor for payment advice.
    Thanks in advance.
    -Dunlop.

    Hi,
    The below standard function module is capable of sending the email with the pdf attachment.
    But it is your responsiblity how you fill the internal tables here.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = lwa_doc_chng
          put_in_outbox              = 'X'
          commit_work                = 'X'
        IMPORTING
          sent_to_all                = lw_sent_to_all
        TABLES
          packing_list               = lt_packing_list
          object_header              = lt_objhead
          contents_bin               = itab_255                
          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                     = 8.
    Regards,
    Santhosh.

  • Email sending with pdf document?

    hi folks,iam using jdeveloper 11.1.2.3.0 my requirement as follows
    Iam sending the mail with an attachment of pdf document..
    i have two tables proforma invoice table(colums are ex:finalized date and chargepartycode) and chargepartymaster table(columns are ex:chargepartycode and email)..here when ever the proforma is finalized,i pick all the finalized records with respective chargepartycode,and pick email from chargepartymaster with respective chargepartycode ,now i need to send a mail for the respected email upto here fine.here is my requirement
    single chargeparty has multiple invoice will so i need to generate single pdf for same chargepartycode and send it to the respected email ,here problem is generating the pdf for same chargeparty in one page and different chargeparties in different pages..how

    Hi,
    I think we need to split the question:
    1. Create a PDF file and send a mail from ADF
    Here ADF doesn't provide specific libraries and thus you want to Google for Java APIs to i) create PDF documents and ii) send a mail with attachment
    2. Query invoices and associated details
    This can easily be done in ADF by querying a View object for the invoice and then use its view link accessor to access detail rows. How to access a detail from a master row is explained in the Fusion Developer Guide on OTN
    http://docs.oracle.com/cd/E37975_01/web.111240/e16182/toc.htm
    Frank

  • Mail sending with attachment

    Hi all,
            i'm working on badi i need to send a mail with excel attachment, if you have sample code pls
    send me.
    Regards
    Suprith

    hi
    refer to this thread
    Re: Send mails with attachment to external email id
    hope this helps
    regards
    Aakash Banga

  • Send filr attachment in email, send filr attachment in email

    Dear,
    i want ask, i need send email via iphone 5S IOS 7, and i need send email with attachment, and i need attachment some file, but i not looking menu for this,
    could you help?
    Thanks

    iCal attachments are a little different.  You can construct and send a link within the body of an email that will then generate an iCal appointment for an outlook calendar.
    However, the one caveat to this is that you MUST be using a SharePoint Calendar.  The trick doesn't work with a normal list that has a calendar view set up for it.  You'll need to use the link generated in the "Export Event" button and then append
    an item ID onto the end of it.
    This link can then be added to the body of an email. 
    A more verbal description of how to achieve this can be seen here
    http://ameyakawale.wordpress.com/2010/05/18/email-a-calendarappointment-link-using-sharepoint-workflow/
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • How to include all of the original text in email replies with attachment

    I am using Mac Mail and I have set up the composing preferences to include all of the original message when responding. This only works so long as I don't send an attachment. If I send an attachment in my reply then the recipient doesn't receive any of the previous text, although the copy in my 'sent' box has it on. I contacted BT and got the following response "If you can send and receive emails including attachments via this software then this indicates that the client configuration is correct, and unfortunately this is as far as we can support Mac Mail. I would suggest you seek further advice from Apple as this may be down to the way you have configured the mail client’s composing preferences. Apple’s help desk will be able to tell you if this is a known issue". I've searched the forum for an answer but couldn't find one, does anyone know how to fix this?

    Annette, welcome to Apple Discussions.
    I don't know what is causing your mail problem, but offer a possible alternate solution.
    Open the email you want to respond to. Then click reply. Then copy the text.
    Then open a new message and paste the copied text. Add your attachment & any additional new text. Then send.
     Cheers, Tom

  • JavaMail hangs up does not send mail nor throws exception when sending with attachment.

    So basically i have a problem that has been reported, but none of the answers solved in my case.
    I'm trying to send a mail with attachment using java mail, and it hangs in the transport.Send without sending an exception.
    I've put the debug to true to try to understand what's going on and the result that i get is this:
    DEBUG: not loading system providers in <java.home>/lib
    DEBUG: not loading optional custom providers file: /META-INF/javamail.providers
    DEBUG: successfully loaded default providers
    DEBUG: Tables of loaded providers
    DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.S  MTPSSLTransport,Sun Microsystems, Inc],  com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.
    SMTPTransport,Sun Microsystems, Inc],  com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLSto  re,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLSto re,Sun M
    icrosystems, Inc],  com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun   Microsystems, Inc],  com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun   Microsystems, Inc]}
    DEBUG: Providers Listed By Protocol:   {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems,   Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems,   Inc], smtps=javax.mail.Provider[TRANSPORT,
    smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc],  pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc],  pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems,   Inc], smtp=java
    x.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]}
    DEBUG: not loading optional address map file: /META-INF/javamail.address.map
    i've tried set the both connection timeout proprieties to 5000 but it stil does nott generate an exception. i've tried to chage the try catch block to catch Exception rather than MessagingException but it still does not generate an exception.
    So i have another environment where using the same mail server and code it is working and i.ve generated the debug message and the next message is
    DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
    I don't understand why it blocks here and why this message is not shown. i don't think its a connection problem. maybe a configuration issue, so i'm triyng to understand whats going wrong.
    Any help would be appreciated. Thanks.

    Based on the debug output, you're using a very old version of JavaMail.  You should consider upgrading.
    The debug output shows no attempt to connect to any server, so it appears that something is going wrong even before then.
    If the program is really blocked, try to get a stack trace showing where it's blocked.
    Also, try catching Throwable to make sure you're not missing some kind of unexpected failure.
    Do you have a standalone application, or is it running in some sort of application server?
    What version of the JDK are you using?

  • Is there an upper limit to the number of emails "Send With Document" will send to at one time?

    I am using LiveCycle ES3 10.0.2 SP1 and Worbench/ADEP 10.0.0.0.20110711.1.291006.
    I have selected “Send With Document” for my Service Operation from the Service Name “EmailService” from the Category “Foundation”.
    It works correctly to send to a few emails in the email string, but stalls on the full list of almost 700 emails. My string length is unlimited.  Is there a threshold for the number of emails that it can send to at one time?

    Please use the correct version of the WorkBench which is compatible with your LiveCycle ES3 server.There should not be any limit as long as the email service is up. You should refer to the server log file to check exactly what error is being encountered.
    Thanks,
    Wasil

  • Order output send with attachment to external email recipient

    Hello,
    We have a requirement that we should be able to send an email with an orderconfirmation attached (like BA00) to specific contact persons (maybe one, maybe multiple contact persons) But this should be not the email in the customer master general data. This email is not internal, we need to send external emails with the document attached (PDF).
    Also this requirement should be also for invoices (RD00), it could be that this is an other person than the contact person for the order confirmation.
    Our first thought was to use the contact persons and create 2 new entries, order confirmation recipient and invoice recipient. In this contact person we can add an e-mail address .
    First, we created a condition record for output BA00 in VV12. We use standard communication strategy CS01 and with partner function CP (Contact Person) and add the number of the contact person (which is found in customer master).
    Only then we get the following messages:
    Message no. AM016
    Please enter an address number     
    Message no. SVN000
    Communication type  cannot be used
    Ok, this is due to that CP is missing in partner functions, so we add this then the output is send to the contact person. This is fine and working.
    But the problem is that we want to have this for multiple recipients, so for example 2 contact persons. You cannot create the same condition record for two recipients, so you can leave the partner empty in VV12. But when you enter an order, you get a popup for which CP you want to create this order. So only one is possible.
    Now we saw that there is a partner function MA (Mail partner address) is available. I have looked and searched but cannot find the exact function of this partner function. Like the MP (Mail partner) is internal, I expect this one to be external mail.
    But the only problem is with this partner function, we cannot add this to the partner determination for customer master.
    So how are we able to set this up? Any suggestion is appreciated and when usable also awarded.

    Read note 191470 - Purchase order as an e-mail.pdf

  • When sending an email message with attachment, the message disappears.

    I send and receive messages without any problems but when I try sending a message with an attachment (using Documents to Go, IAnnotate PDF, IWork,) the message somehow disappears (it is not sent to the destination and not listed on "Sent" messages folder. Is anyone having the same issue?

    Hi Jaime,
    Are you saying, you are getting junk characters in the email attachment? Then pls check the following. Since you want to send Japanese fonts, please pass language 'J' in both  objpack-obj_langu = '3' & doc_chng-obj_langu  = '3' instead of '3' please replace it with 'J'.
    Another thing which you may have to check is the SCOT device type. As I understand from my basis colleague, this may also affect your attachment fonts since the emails are sent through SCOT. Go to transaction SCOT-> Settings-> Device types for format conversion. Check whether wrong device type is defined for Japanese there. Hope this helps
    Regards,
    Gokul

  • I am on an Exchange server, I have all appropriate HTML settings checked but my emails send with my signature as an attachment and anytime I embed a link it shows the link next to the word I tried to hyperlink with around it.

    My emails also come across in plain text and not the fonts etc I have them set to. I have tried pretty much everything and nothing seems to work.

    I would look into if the ports the smtp is using are open at all
    if they are closed over 3g then it should work over wifi unles your wifi router block them too
    and of cause if you set the wrong encryption or some of the other smtp settings then that too would
    explain it

  • Regarding email generation with attachment

    Hi Experts,
    1)   Iam sending an email with excel attachment by using the FM "SO_NEW_DOCUMENT_ATT_SEND_API1".
       My problem is for example if i have 5 lines in the email table then these 5 lines are showing in single in the excel.
    How can i rectify this?
    2)  i need to submit the report in the back ground with variant and with out selection screen.How to do this?  
    Rgds,
    Krishna.

    Hi,
      Append each line of ur text seperately in an internal table for eg.  
       objtxt = text-007.
      APPEND objtxt.
      CLEAR objtxt.
      APPEND objtxt.
      objtxt = text-008.
      APPEND objtxt.
      CLEAR objtxt.
      APPEND objtxt.
    *Function module to send email with an attachment
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = docdata
          put_in_outbox              = 'X'
          commit_work                = '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
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        MESSAGE s899(m3) WITH 'Mail sent successfully!'.
      ENDIF.
    Then u  ll get the mail the way u designed.
    The answer of ur 2nd question is........
    Specify the selection screen in ur program
    and use FMs 'JOB_OPEN' ,  'JOB_CLOSE' & 'JOB_SUBMT' to schedule the job in the background..
    regards,
    ajit.

Maybe you are looking for

  • Address book duplicates icloud

    I just updated to the new 10.7.2 with iCLoud - now I get many duplicates in my address book and also in iCal (birthdays and events) How do I reset it so it doesn't keep updating duplicate contacts - I have done the Check For Duplicates and gone throu

  • DLO Homedock Deluxe + Album Art on TV w/Classic...

    Has anyone here with the latest model of the DLO Homedock Deluxe been able to get album art displayed on their TV with it while using an iPod Classic? I understand that between firmware updates from Apple and DLO, the video-out issue has been resolve

  • VG and CUSP communication issue

    Dear Networkers, We do have UCCE 8.5 with CVP 8.5 in a h.323 comprehensive model deployement. We are planning to change the signalling method from H.323 to SIP. We installed two SIP PROXY servers (2x 2951 with NME CUSP), but we're using only one now.

  • Since upgrading to os x 10.9.2 i can't receive my email

    since upgraging to os x 10.9.2 i cant receive my email, it was working fine before upgrade now says my user id or password is wrong

  • E55 user defined access point for outgoing email (...

    Hello I changed the outgoing default connection in E55 here: menu. email. settings. mymailbox. mailbox settings. advanced mailb settings.outgoing mail settings. access point in use. user defined now when i do a email message it doesnt send when i cho