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.

Similar Messages

  • How to integrate WPS writer as default email editor.

    i want to use WPS writer as default email editor or want to use external email editor, so please guide me how to change the settings from config editor or suggest me the add-ons for the same.
    i also have a problem with the table format in email body, i am not able to resize the cell hight and width.
    please guide me to resolve my problem.
    thanks
    Achyut Jani

    WPS stands for Writer, Presentation, and Spreadsheets—the three components of WPS Office.
    Reads .doc, .docx and .rtf files.
    Basically it is a word processor not an email editor.
    All word processing programs are designed to be word processing applications and they tend to have a whole load of formatting options that are not available in an email client. So that even a copy paste from a word processing package to email client can result in changed formatting and all formatting is removed anyway for those who choose to read as Plain Text emails.
    However, you can attach wps documents so that they can be read correctly using correct software and can be detached and saved separately. This is why there is the facilty to attach documents.
    Some info discovered on google. I cannot advocate any of these as I use Thunderbird because it already has all the facilites required to create emails.
    External Editor - Usage
    http://globs.org/articles.php?pg=2&lng=en
    Vim Editor can be used with Linux OS
    * http://www.thegeekstuff.com/2009/04/thunderbird-vi-and-vim-editor-to-compose-email/#more-436

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

  • Outlook 2010 - Cannot open default email folders. The information sotre could not be found

    I have yet to set up my Outlook Folder. I keep coming up with
    "Cannot open default email folders.  The information sotre could not be found.
    How do I get around this.
    Shari

    That error means you have compatibility mode enabled. From
    Say No to Compatibility mode : To disable Compatibility mode or confirm its not enabled, find Outlook.exe file and right click, then select Properties, Compatibility tab.
    Diane Poremsky [MVP - Outlook]
    Outlook Daily Tips |
    Outlook & Exchange Solutions Center
    Subscribe to Exchange Messaging Outlook weekly newsletter

  • If I open my email server with firefox the autocomplete doesn't work. why?

    If I open my email server with Internet explorer I don't have this problem

    Thank you Alley!
    But still not working.
    I've just bought my Apple TV. I think it is impossible low battery and I tried to hold menu and left, but it didn't response again.
    When I press any buttom, the Apple TV LED doesn't flick. The light is just on... not flickering...
    Thanks again!
    Igor

  • Open Outlook email editor from SAP

    Hi,
    I need to open the outlook email editor from ABAP program so that the user can manually input the To, CC, subject, body and attachment.
    Can anybody help ?
    Thanks and regards
    Arijit Ghose

    check out this sample code (using VB script) , you can do similar stuff using activex control as well.
    FUNCTION Z_OUTLOOK_MAIL_CREATE.
    *"*"Local interface:
    *"       IMPORTING
    *"             VALUE(I_SUBJECT) TYPE  C OPTIONAL
    *"       TABLES
    *"              EMAIL_BODY STRUCTURE  SOLI OPTIONAL
    *"              ADDRESS_LIST STRUCTURE  SOLI OPTIONAL
    *"              ATTACHMENTS STRUCTURE  SOLI OPTIONAL
    *"       EXCEPTIONS
    *"              INVALID_PATH
    *"              DOWNLOAD_FAILED
    *"              EXECUTION_FAILED
      DATA:
        V_TRANSLATE(2),
        IT_VBS          LIKE SOLI
           OCCURS 50 WITH HEADER LINE,
        V_LAST,
        V_VBS_FILENAME  LIKE RLGRAP-FILENAME,
        COMMANDLINE(1000).
    *- Prepare a code to translate a quote into a hex-tab
    *- so it can then be translated back to 2 double quotes.
      CONCATENATE '"' CON_HEX-TAB INTO V_TRANSLATE.
      APPEND:
        'Dim myolapp                                        ' TO IT_VBS,
        'Dim olNamespace                                    ' TO IT_VBS,
        'Dim myItem                                         ' TO IT_VBS,
        'Dim myRecipient                                    ' TO IT_VBS,
        'Dim myAttachments                                  ' TO IT_VBS,
        '                                                   ' TO IT_VBS,
        'Set myolapp = CreateObject("Outlook.Application")  ' TO IT_VBS,
        'Set olNamespace = myolapp.GetNamespace("MAPI")     ' TO IT_VBS,
        'Set myItem = myolapp.CreateItem(olMailItem)        ' TO IT_VBS,
        '                                                   ' TO IT_VBS.
    *- Translate the body into a single line.
      LOOP AT ADDRESS_LIST.
        CONCATENATE
          'Set myRecipient = myItem.Recipients.Add("'
          ADDRESS_LIST
          INTO IT_VBS.
        APPEND IT_VBS.
      ENDLOOP.
      APPEND:
        'myItem.VotingOptions = "Approve;Reject"' TO IT_VBS.
    *- Build the subject line.
      CONCATENATE
        'myItem.Subject = "'
        I_SUBJECT
        INTO IT_VBS.
      APPEND IT_VBS.
    *- Prepare attachments
      APPEND:
        'Set myAttachments = myItem.Attachments' TO IT_VBS.
    *- Check if the attachment exists
      LOOP AT ATTACHMENTS.
        CALL FUNCTION 'WS_QUERY'
             EXPORTING
                  FILENAME       = ATTACHMENTS
                  QUERY          = 'FE'
             EXCEPTIONS
                  INV_QUERY      = 1
                  NO_BATCH       = 2
                  FRONTEND_ERROR = 3
                  OTHERS         = 4.
        IF SY-SUBRC EQ 0.
          CONCATENATE 'myAttachments.Add("'
                      ATTACHMENTS
            INTO IT_VBS.
          APPEND IT_VBS.
    * '    olByValue, 1, "4th Quarter 1996 Results Chart"'
    *      append '    olByReference, 1' to it_vbs.
        ELSE.
          MESSAGE I017(ZZ) WITH
             'Could not attach' ATTACHMENTS.
        ENDIF.
      ENDLOOP.
    *- Prepare the email body.
      CLEAR: V_LAST, IT_VBS.
      APPEND IT_VBS.
      LOOP AT EMAIL_BODY.
        AT FIRST.
          APPEND 'myitem.body = _' TO IT_VBS.
        ENDAT.
        AT LAST.
          V_LAST = 'X'.
        ENDAT.
        TRANSLATE EMAIL_BODY USING V_TRANSLATE.
        WHILE SY-SUBRC EQ 0.
          REPLACE CON_HEX-TAB WITH '""' INTO EMAIL_BODY.
        ENDWHILE.
        IF V_LAST = 'X'.
          CONCATENATE '"' EMAIL_BODY '" &vbCrLf '
            INTO IT_VBS.
        ELSE.
          CONCATENATE '"' EMAIL_BODY '" &vbCrLf  &_'
            INTO IT_VBS.
        ENDIF.
        APPEND IT_VBS.
      ENDLOOP.
      APPEND 'myItem.Display' TO IT_VBS.
    *- Prepare the vbscript filename for download and execution
      CLEAR V_VBS_FILENAME.
      CALL FUNCTION 'WS_QUERY'
           EXPORTING
                ENVIRONMENT    = 'TEMP'
                QUERY          = 'EN'
           IMPORTING
                RETURN         = V_VBS_FILENAME
           EXCEPTIONS
                INV_QUERY      = 1
                NO_BATCH       = 2
                FRONTEND_ERROR = 3
                OTHERS         = 4.
      IF SY-SUBRC <> 0.
        RAISE INVALID_PATHNAME.
      ENDIF.
      CONCATENATE V_VBS_FILENAME 'mail.vbs'
        INTO V_VBS_FILENAME.
      COMMANDLINE = V_VBS_FILENAME.
    *- Download the file
      CALL FUNCTION 'WS_DOWNLOAD'
           EXPORTING
                FILENAME            = V_VBS_FILENAME
                FILETYPE            = 'DAT'
                MODE                = 'S'
           TABLES
                DATA_TAB            = IT_VBS
           EXCEPTIONS
                FILE_OPEN_ERROR     = 1
                FILE_WRITE_ERROR    = 2
                INVALID_FILESIZE    = 3
                INVALID_TABLE_WIDTH = 4
                INVALID_TYPE        = 5
                NO_BATCH            = 6
                UNKNOWN_ERROR       = 7
                OTHERS              = 8.
      IF SY-SUBRC <> 0.
        RAISE DOWNLOAD_FAILED.
      ENDIF.
      CALL FUNCTION 'WS_EXECUTE'
           EXPORTING
                COMMANDLINE    = COMMANDLINE
                PROGRAM        = 'WSCRIPT.EXE'
           EXCEPTIONS
                FRONTEND_ERROR = 1
                NO_BATCH       = 2
                PROG_NOT_FOUND = 3
                ILLEGAL_OPTION = 4
                OTHERS         = 5.
      IF SY-SUBRC <> 0.
        RAISE EXECUTION_FAILED.
      ENDIF.
    ENDFUNCTION.
    Regards
    Raja

  • Error in opening draft email saved with msg extension

    I am attempting to create a email and save it on local hard disc. The email is a file having msg extension. So that it can be opened with MS Outlook. Also I want it to be in DRAFT mode. Like we can create draft email with MS Outlook. This message will have multiple attachmets.
    Thus when user opens this file, it will get opened with MS Outlook and user will be able to edit the message text, TO/CC list, attachments.
    I am using MimeMessage.writeTo(Outstream) API to save the message to a file, say C:\test.msg
    But if I double click test.msg in explorer to open it, it gives error:
    Can't open file C:\test.msg. The file may not exist, you may not have permissions to open it, or it may be open in another program.
    Is it possible to create draft Outlook email message with msg extension?
    If yes, how?
    My code:
                   Properties props = new Properties();
                   props.load(new FileInputStream("C:/email.settings.properties"));
                   // create some properties and get the default Session
                   Session session = Session.getDefaultInstance(props);
                   session.setDebug(debug);
                   // create a message
                   msg = new MimeMessage(session);
                   //Create message from saved email
                   File savedFile = new File("C:/test.msg");
                   // set the from and to address
                   InternetAddress addressFrom = new InternetAddress(from);
                   msg.setFrom(addressFrom);
                   InternetAddress[] addressTo = null;
                   addressTo = new InternetAddress[recipients.length];
                   for (int i = 0; i < recipients.length; i++) {
                        addressTo[i] = new InternetAddress(recipients);
                   msg.setRecipients(Message.RecipientType.TO, addressTo);
                   // Setting the Subject and Content Type
                   msg.setSubject(subject);
                   msg.setContent(message, "text/plain");
                   MimeBodyPart attachmentBodyPart = new MimeBodyPart();
                   DataSource ds = new FileDataSource("C:/WhichSQLServer.pdf");
                   attachmentBodyPart.setDataHandler(new DataHandler(ds));
                   attachmentBodyPart.setFileName("WhichSQLServer.pdf");
                   Multipart multipart = new MimeMultipart();
                   multipart.addBodyPart(attachmentBodyPart);
                   msg.setContent(multipart);
                   //msg.setFlag(Flags.Flag.DRAFT, true);
                   msg.getFlags().add(Flags.Flag.DRAFT);
                   msg.setFileName("test.msg");
                   msg.saveChanges();
                   FileOutputStream os = new FileOutputStream("C:/test.msg");
                   msg.writeTo(os);
                   os.flush();
                   os.close();

    Outlook Msg files aren't as easy to write as you would believe. They are a propretary format that microsoft uses based on the DocFile format that Word and Excel uses.
    If you did the MimeMessage.writeTo(out) and saved it to a .eml file Outlook Express will open it, but Outlook doesn't directly read this file type.
    I've started on a library to allow the creation of Outlook msg files, right now it only allows you to set text, dates, long, and boolean values on the email message (which means you can set stuff like the recieved date/time, subject, body, to, from, etc), but it does not yet support attachments or extra recipents (CC, BCC, etc). I'll be updating the copy on my site as soon as I get the other stuff working (which isn't as easy as it sounds).
    Priasoft has a library available that can do what you want however.
    travis (at) overwrittenstack.com

  • 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

  • Problem in opening the Out look with attachment.

    Hi All
       I have  requirement in WEb Dynpro that need to open MicroSoft OUTLOOK with attachment.
      Can you please help me in this.
    Thanks
    Rama

    Hi Rama,
    I know only one way of an attachment with Outlook open. There are command-line parameters in Outlook.
    Here is an example: "C: \ Program Files \ Microsoft Office \ Office11 \ Outlook.exe / a" C: \ My Documents \ labels.doc "/ c ipm.note
    I hope I could help.
    Best regards
    Bettina

  • Open default mail application and attach the shortcut to it

    Hi All ,
    I have one requirement in which we need to open default mail application from SAP then create a new memo in it and attach the shortcut of one transaction in that new memo.
    Can anybody please help me in the same ?

    Gee, I don't know: "paste attachments mail Lion"? ;-)
    One further question, if I may: in Panther (which is where I've aggregated nearly 7 years of mail), if you copy more than one file in the Finder, switch to Mail, and paste the files into a new message, only the file names paste in. If you copy one file and paste it into a Mail message, you get the file, not just the name. Is that still true, or has that (IMHO) bug been fixed since 10.3.9?

  • [SOLVED] How to open default text editor from bash script?

    as header states i would like my script to open the desktops default text editor. I use xfce.
    I currently have it set to open medit, however i want to be able to use script on other desktops
    Last edited by orphius (2013-07-12 07:24:34)

    Trilby wrote:
    EDITOR will often not be the default desktop environment editor - it is usually limited to being a systemwide (and usually console-ready) editor.
    xdg-open, or a related tool, can give you the desktop's text editor.
    Truth. VISUAL is typically used for the graphical text editor.
    So, to use VISUAL if it exists, but otherwise default to medit, do:
    editor="${VISUAL:-medit}"
    $editor foo.txt
    Last edited by jakobcreutzfeldt (2013-07-11 07:09:02)

  • Open Outlook email editor from SAP  and attach email into SAP

    I have a requirment that in SAP we have the option to add from Micrsoft Outlook, and when that is slected, you are taken to your email so that you can see your inbox and select the email that need to attach in SAP.
    I need to implement this scenario in the tcode SCASE and in the Dispute management->Case->Dispute Case->search and enter the CaseID and click on Search button and you can see down and click on Edit button and you can see the Attached object and from there i need to have one new button when user click on that button and its Micrsoft Outlook should open and you should taken to your email so that you can see your inbox and select the email that need to attach to the CASEID.

    I have a requirment that in SAP we have the option to add from Micrsoft Outlook, and when that is slected, you are taken to your email so that you can see your inbox and select the email that need to attach in SAP.
    I need to implement this scenario in the tcode SCASE and in the Dispute management->Case->Dispute Case->search and enter the CaseID and click on Search button and you can see down and click on Edit button and you can see the Attached object and from there i need to have one new button when user click on that button and its Micrsoft Outlook should open and you should taken to your email so that you can see your inbox and select the email that need to attach to the CASEID.

  • Mail - Email recieved with Attachment always MIME

    Hello,
    I sent an email with an attachment; it was a .html file, to my iMac Mail program. I am receiving it as a MIME attachment. In fact it does this with other files I have sent with different extensions. I am expecting the attachement to be simply whatever it is I am sending. What am I encountering and how can I fix this.
    Thanks
    iMac OS X 10.5.8
    Mail 3.6
    Sent using Outloook on an XP PC

    Nearly all attachments are a MIME type file, but that is not mentioned when Mail can determine what type of file it is, most often identified by the extension. Calling it simply a MIME attachment means there may be some confusion as to what file format it is actually in.
    With the message open, click on View and place the cursor on Message and choose Raw Source. Is there a header for the attachment that states what type file it is?
    Ernie

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

  • Exchange 2013 Issue - Cannot open default email folders. you must connect to microsoft exchange

    Hello all, this is my first post and nightmare to this issue because i believe i made mistake and overlook something. I search over the internet i cant find the best answer or maybe i missed something during the configurations. The exchange was working fine
    not after i change the setting following the method
    Configure External and Internal URL in Exchange 2012. after that, the users outlook experiencing disconnect from exchange. I restore back the previous setting but now I cant add any new user to the any Outlook version or change the server path. it will
    cause the problem which show the message below:
    "Can't open your default e-mail folders. You must connect to Microsoft Exchange with the current profile before you can synchronize your folder with your offline folders with your Outlook data file (.ost)"
    I restarted the server and check all the Exchange services are running. The Outlook web is running and they able to receive and send out. The existing link to the exchange are still working so I not really sure what setting should i look into. I was thinking
    about restoring back from Window Server Backup but was advise not to do it unless there are ways to look back the previous setting from the backup.
    One of my ex-boss told me could be the Exchange Certificate but wasn't sure.
    I really appreciate someone could advice and help me resolved this issue.
    IT Tech Supports

    Actually all are affected, but i manage to solved it running Virtual test version to trace the issue and finally able to fix it. Thanks for asking.
    IT Technician

Maybe you are looking for

  • How to install Windows 8.1 on Haswell MBP

    How do you get Windows 8.1 to do a clean install on a Haswell based rMBP?

  • Need help for struts

    Hi friends, i am new in struts i try to write an actionfrorm that handle master detail form but when i try to run my jsp page i get this exception : javax.servlet.jsp.JspException: No getter method for property function[0].function.label of bean org.

  • Exchage rate type for GR

    All SAP Gurus, In case of GR against PO, currency exchange rate type 'B' (Standard translation at bk.selling rate) is picked by the system. Where is the configurational setting for this, so that system picks / use currency exchange rate type 'B' not

  • Since iOS 8.3 upgrade school iPads need to reset very often

    Since iOS 8.3 upgrade school iPads need to reset (holding down home and power button) very often as they do not turn on. iPads are charged at the time. Anyone know how to fix this? It is making life at the school quite difficult.

  • Can't export to RGB pdf - Indesign CS6

    Hi there, I'm trying to export a web pdf with RGB color settings but it doesn't work. Everything looks good in the Indesign document and I've switched to RGB transparency blend space. When I export to a interactive pdf it comes out as a CMYK pdf and