New to JavaMail: sending via MS Outlook

i was searching the forum for quite some time, i just couldn't find what i am looking for. sorry if similar question has been posted.
all i want to do is:
1) send an email via outlook, that means in my application i set all the parameters like recipient, subject, content and then i want outlook to start and send the e-mail
2) i managed somehow with "cmd /c start mailto:" but it would be nice to send the mail automatically, not just open the dialog.
3) i managed to send emails with the JavaMail API, but then the outgoing message is not stored in outlook.
what do i need to do? i really appreciate any answers...
thanks, steff

thank you again and sorry for bothering you. what i am trying to tell you is, that i am not using/do not have a server. all i have is a normal ms office outlook (local client, there is no server behind that) ... to send the message i only make a smtp-connection to my internet service providers mail-server (like outlook does as well). but i am not interested in the isp folders.
i had a close look at the examples you said (mover.java & folderlist.java) and again, there is this IMAP connecntion to A server.
Am I completely wrong, or do i just don't understand it. i want to save messages local in my outlook (unfortunatelly no server). Could you make an example for me to understand?
thanks again, stefan

Similar Messages

  • Send  via email(Outlook) an SAP attached document

    I have attached several external documents to a sales order.I also have an output type of this sales order that i send via Ms Outlook to the customers.Is it possible to attach to the same email the previously attached docs?All this functionality i want to execute in SAP ...
    Thanks a lot .....

    Microsoft Exchange is probably one of the most common corporate email servers. It gives you the ability to have aliases and multiple email domains in Exchange. Many corporations have multiple email domains yet without creating multiple mailboxes for each
    user, Exchange and Outlook does not provide the ability to use aliases properly. What is the point in having the ability of multiple domains and aliases? There are only workarounds and a 3rd party solution. Yet again other people are providing solutions to
    short-falls in Microsoft Products. I take it this issue has been parked into the "too difficult" Box?

  • I can not send pictures from photo via my OUTLOOK for IMAC

    I just installed Photo  as part of the New OS Yosimete and now I cant send pictures from the library via my OUTLOOK for IMAC

    I've opened up a enhancement request with Apple. Photos is not ready for prime time in my opinion. I've tried to work around this issue by trying to attach a photo in Outlook, but the Photos media browser (which worked fine with iPhoto) does not work at all, either. Both of these features work fine when you're using Apple's Mail application. So it's either Microsoft doesn't support the new Photos, or Apple doesn't support Outlook.

  • The problem is with the new operating system  and sending photo via email when used in my iPad.   From photo I selected 3 photos to send via email. I choose the upload key and choose to send by email. Typing text on the email is very slow.

    The problem is with the new operating system  and sending photo via email when used in my iPad.
    From photo I selected 3 photos to send via email. I choose the upload key and choose to send by email. Typing text on the email is very slow. This is solved by saving the email as a draft and opening the email again from mail.
    Can you amend he system to allow emails to be sent from photo as previously.

    Have you tried restarting or resetting your iPad?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after the iPad shuts down, then press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds). Ignore the "Slide to power off"

  • PDF Not Sending via Outlook With Multiple Profiles

    Hello,
    I'm having an issue with the "attach to email" function under the file menu.
    When I choose “Attach to Email”, new message is created in Outlook. When the message is sent it does not appear in the Outlook “sent” folder. Nor does it save to “drafts” when closed and saved. Recipients of email do not receive the message.
    Everything works fine when having only a single profile in Outlook. Problem only occurs with more than one profile when the setting:
    "When starting Microsoft Office Outlook, use this profile:" is set to "Prompt for a profile to be used". There's no problem when having the setting set to "Always use this profile". So it seems to be getting confused about the profiles. The wierd part is that after removing a profile and setting the choice back to "always use..." the mail gets sent and the recipients receive the messages. So it's almost like after hitting, "send" Adobe or Outlook are hanging in the background until "always use..." is set, but I haven't noticed any processes popping up in task manager.
    Observations:
    “Attach to Email” works when having only one profile in Outlook.
    Problem occurs in Acrobat 9
    Problem occurs in Reader 9 and X
    Once profile is removed, messages are sent and received by recipients
    Thanks for any information or help!

    Hi,
    As per the description, I understand that it's an issue about CRM Online for Outlook.
    This is the forum to discuss questions and feedback for Microsoft Office client. To get better assistance, I would suggest you to post in
    Microsoft Dynamics CRM Forum, where you can get more experienced responses:
    https://community.dynamics.com/crm/f/117.aspx
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Failed to send E-mail via microsoft OutLook

    Hi All,
    Does anybody knows why this message appears when I tried to send an email via out look, using the button email on the B1 menu bar.  i have selected the user name and the email address correctly, i have ticked the option send emiail using microsoft outlook.  then the following error message appeared
    "BO2069: Failed to send e-mail via Microsoft Out look"
    the connection was established between outlook and b1 using the logon function in outlook integration addon.
    thanks
    SV Reddy

    Dear,
    If my last answer could not solve your issue, please refer to the informaiotn below:
    The reported issue occurs due to the fact that outlook can only send attachments from the Business One attachments folder.
    This issue has been fixed in 2005A SP01 PL41. Please refer to the note 1116389. As a solution we would suggest to upgrade to the latest patch level.
    Until you upgrade to latest patch of 2005A SP 01 you can use the following workaround:
    - Manually copy all attachments to the B1 attachment path before sending this mail. If you create a shortcut to your attachments folder in a convenient location (perhaps the desktop) this can be done very quickly. (Browse to your document, right click and select copy, press the Windows Key+D to go to your desktop, double
    click the shortcut, then paste into the attachments folder.)
    Alternatively, you could either:
    - Change the B1 attachment path to your attachment files path.
    or
    - Uncheck 'Send E-mail via MS Outlook', and send this message. Nowthese attachments will be copied to the Business One attachment path.
    Then send this message again, with 'Send E-mail via MS Outlook' checked.
    Further we would suggest to apply following steps:
    -upgrade your MS Office 2003 application to the current SP. (SP3)
    -verify that the sender's e-mail address defined for the sender in SAP Business One is valid.
    -Set up the correct smtp server in SBO Mailer / General Setting /Mail Settings (you should check with a "Test connection" button)
    Wish the information could solve your issue.
    Regards
    Apple

  • I am on OS X and i am having problems sending pictures from the new pictures app via email.  when i hit the sharing button i have the option to send via iMessage or Facebook but the email option is ghosted and can't be checked off.  any suggestions?

    I am on OS X and i am having problems sending pictures from the new pictures app via email.  when i hit the sharing button i have the option to send via iMessage or Facebook but the email option is ghosted and can't be checked off.  any suggestions?

    I've resolved my problem now.  It wasn't iphoto: preferences:@ that I needed but iphoto:preferences:general where there is the option to choose email for sending photos.  Can't believe I missed that before.

  • Cannot send email from outlook 2011 (Mac) on public networks but can send via  Mac Mail

    I cannot send mail with Outlook from anywhere other than my work or home network, will not work even when accessing 4g with my phone hotspot; very frustrating. I am using Yosemite & Macbook Pro (2012). if i use the Apple Mail everything works fine so I can only assume it is a setting on Outlook?

    Update - I now have it working.
    am not really sure what exactly fixed it.
    I changed a lot of things but my setup now has the following which I think fixed.
    outgoing server  - p06-smtp.mail.me.com
    override default port checked - port now 587
    on more options button changed it to "use incoming server info".

  • TS4002 As of 4pm PDT, I cannot send email from Outlook via iCloud; my wife has the same problem.  Where/how do I report this problem?  Apple support seems to be available only if one is using a Mac product.

    Originating discussion

    Same problem with sending mail from Outlook 2010 (Win7 64 bit - started yesterday) and Windows Live Mail 2011 (Win7 32-bit).
    Server Error 334
    Server Response 334
    Server: smtp.mail.me.com
    Error code 0x80004005
    Protocol smtp
    Port 587
    SSL
    No issues sending iCloud email from the browser / web iCloud interface or from my Android phone.
    Not finding any of this in Google searches yet.

  • When new pix is taken and want to send via email it is received upside down, why?

    has anyone have this problem, when you take a picture and want to send via email the picture is received upside down? does anyone know how to fix this?

    Better yet, check out the two day gathering of professional photographers who are passionate enough about the iPhone 4S to put together a seminar on iPhoneography.
    http://www.creativelive.com/courses/iphoneography-jack-hollingsworth
    All the Links!
    KateHaileyJanuary 3, 2012 - 1:55pm 
    Hi everyone,
    I just wanted to take a moment to share numerous links that may be referenced over the 2-Day iPhoneography workshop with Jack Hollingsworth.
    Please feel free to add to it as you think of other things that might be of great reference to all the iPhoneographer's out there!
    Apps:
    Adobe Photoshop Express: http://itunes.apple.com/us/app/adobe-photoshop-express/id331975235?mt=8
    Best Camera: http://itunes.apple.com/us/app/best-camera/id329800600?mt=8
    Camera+: http://itunes.apple.com/us/app//id329670577?mt=8
    Filterstorm: http://itunes.apple.com/us/app/filterstorm/id363449020?mt=8
    Instagram: http://itunes.apple.com/us/app/instagram/id389801252?mt=8
    Luminance: http://itunes.apple.com/us/app/luminance/id443465287?mt=8
    Minimal Folio (iPhone): http://itunes.apple.com/us/app/minimal-folio-for-iphone-design/id4124111...
    Minimal Folio (iPad): http://itunes.apple.com/us/app/minimal-folio-design-photo/id385429744?mt=8
    Photoforge2: http://itunes.apple.com/us/app/photoforge2/id435789422?mt=8
    Picfx: http://itunes.apple.com/us/app/picfx/id417563413?mt=8
    Pocket Portfolio: http://itunes.apple.com/us/app/pocket-portfolio/id419455189?mt=8
    Snapseed: http://itunes.apple.com/us/app/snapseed/id439438619?mt=8
    Accessories:
    Diff (case): http://www.diffcase.com/DiffCase.html
    Glif (tripod access): http://www.studioneat.com/products/glif-for-iphone-4
    Gymbl (iPhone Tripod): http://www.youbiq.com/
    iPik (case): http://www.ipikcase.com/
    iPro Lens: http://iprolens.com/
    the joy factory (Rain Ballet): http://www.thejoyfactory.com/rainballet-iphone-4-waterproof-case-with-in...
    kogeto (dot lens): http://kogeto.com/dot.php
    mCam: http://www.almlive.com/store/
    Modahaus (Steady Stand): http://www.modahaus.com/store/steady-stand-200/
    Mophie Juice Pack Plus (iPhone4/4s): http://www.mophie.com/mophie-juice-pack-plus-iPhone-4-battery-case-p/116...
    Mosy Mount (tripod): http://www.mosymount.com/
    olloclip (tripod access): http://www.olloclip.com/
    Photojojo: http://photojojo.com/store/
    pixeet (app/lens): http://www.pixeet.com/
    snapmount: http://snapmountforiphone.com/
    sites, blogs and reference material:
    1197.is: http://1197.is/
    the App Tutor: http://theapptutor.com/
    Chase Jarvis: The Best Camera – Book: http://www.amazon.com/Best-Camera-One-Thats-You/dp/0321684788/ref=sr_1_1...
    EyeEm: http://www.eyeem.com
    eyephoneography: http://eyephoneography.com/
    FiLMiC Pro: http://www.filmicpro.com/
    Flickr – iPhoneography: http://www.flickr.com/groups/iPhonephotography
    Instagram: http://instagr.am
    Instatips: http://instatips.tumblr.com
    iPhoneArt: http://iphoneart.com
    iPhone Camera Essentials: http://iphonecameraessentials.com/
    iPhone Obsessed (Book/App): http://marcolinaslate.com/iphoneobsessed/
    iPhoneogenic: http://iPhoneogenic.tumblr.com
    iPhoneography (Glyn Evans): http://iphoneography.com
    iPhoneorgaphyCentral: http://iphoneographycentral.com/
    iShowcase Vol.1 (App): http://itunes.apple.com/us/app/ishowcase-vol.01/id409042603?mt=8
    iShowcase Vol.2 (App): http://itunes.apple.com/us/app/ishowcase-vol.02-w/id455932142?mt=8
    Just What I See: http://www.justwhatisee.com/
    Life in LoFi (Marty Yawnick): http://lifeinlofi.com
    LoFi MODE: http://lofimode.com/
    MobiTog: http://mobitog.com
    Mobile Photo Group: http://www.mobilephotogroup.com
    Mobile photography awards: http://www.mobilephotoawards.com
    p1xels: http://pixelsatanexhibition.com
    Tiny Tutorials:http://www.danburkholder.com/Pages/main_pages/tutorials_main_page.htm
    What I See Now: http://www.whatiseenow.com
    Your Camera Loves You (eBook): http://www.peachpit.com/store/product.aspx?isbn=0132776308

  • Sender unspecified in outlook express

    I just installed PSE 7 and as with some of the previous versions I am getting the "sender unspecified" in outlook express when I try to share pictures. I realize that an easy fix is to just press forward, but c'mon Adobe, can't you make this software work with outlook express. I tried the hotfix that is posted on the website and my computer says that I already have a newer version of the update and lets me go no further. So therefore, still no fix! Anybody have a suggestion on how to fix this problem or is it something you just have to live with. Thanks for your help.

    Just spent hours trying to resolve this issue. After several days and out of the blue I ran across this information which I followed and it solved the "sender unspecified" issue with Adobe Photoshop 9.
    "I have now discovered how to stop the auto analyzer running on  startup - you have to run Premiere Elements, choose "Organize", choose  "Organizer", choose "Edit > Preferences" and choose "Auto-Analyzer  Options".  There you can untick "Run Analyzer on Start Up" (and you  might want to untick "Analyze All Media in Catalog Automatically".  Then  click "OK".
    However, you are then confronted with a  dialog box titled "Missing Sender E-mail Address" which reads "Please  enter your E-mail address".  Click OK, and you find yourself in a dialog  labelled "Sharing" in which you are required to enter your name and  your email address."
    Thought I would copy this info and repost it as a reply to these enquiries. The problem drove me nuts and the above procedure quickly resolved the issue for me, although I did not have to do the part about "Missing Sender E-mail Address" etc. as after I did the first part I then tried to send a picture via Photoshop via Outlook Express and the email produced was correct with the appropriate sender name, send button etc.

  • No e-mail via Microsoft Outlook

    Can't sync e-mail via my new computer. Opted for Microsoft Outlook for my AT&T Yahoo e-mail on this computer, rather than directly using Yahoo Mail. All Inbox mail transferred correctly to Microsoft Outlook from Yahoo Mail, but now can't see any mail on my iphone. I'm using the same server information and port numbers on both the computer and iphone. No luck. Any suggestions?

    The mailboxes and messages for an account that you access with Outlook are not synced with the iPhone. This is not included with the iTunes sync process.
    If you are accessing your Yahoo account as a POP account, what is your account setting with Outlook for removing messages from the server when downloaded?
    The setting needs to be never if you want access to the same messages available at the incoming mail server for the account when accessing the account with the iPhone's Mail client.
    A POP account is designed to be accessed with a single email client only. You cannot store sent messages on the server with a POP account, so any messages sent with the account using Outlook will not be available in the account's Sent mailbox when accessing the account with the iPhone's Mail client, and vice-versa.
    You should consider an IMAP account instead, which is designed to be accessed with an email client on multiple computers or devices. All server stored mailboxes for an IMAP account are kept synchronized with the server with all email clients used to access the account. You can store the account's Drafts, Sent, and Trash mailbox on the server with both email clients used to access the account. Send a message with the account using the iPhone's Mail client, and the sent message will be available in the account's Sent mailbox automatically when checking the account with Outlook on your computer, and vice-versa. Read a new message with the iPhone's Mail client, and the message will be marked as read automatically when checking the account's Inbox mailbox with Outlook.
    This is not possible with a POP account.

  • Can javamail send messages other then smtp

    you need the mail.smtp.host property if you're sending messages via SMTP. like this what are the other type of messages can javamail send...
    Properties props = System.getProperties();
    // -- Attaching to default Session, or we could start a new one --
    props.put("mail.smtp.host", smtpServer);

    Hi Scootmagoots,
    From your post I see that you are unable to send or receive iMessage on your iPhone.  While this is understandably a very frustrating issue there are troubleshooting steps I'd like you to follow through in order to get this resolved.
    If you can't send or receive messages on your iPhone, iPad, or iPod touch - Apple Support
    Have a great weekend,
    Alex H.

  • Can't send email from Outlook with parentheses in address

    I can't send email from Outlook 2007 through my WRT400N when Outlook displays the address with parentheses as in this example: Firstname Lastname ([email protected])
    I can send if the address is in this form: Firstname Lastname <[email protected]>
    I have tested with the ISP and nothing gets through the router when the problem occurs. When I bypass the router, both forms of address will send correctly. This problem is perfectly reproducible. My router is brand new, but the problem did not show up for about a week after installation. OS is Win7. Any ideas? Thanks.
    -JimW
    Solved!
    Go to Solution.

    Try to forward the port 443 to 447 on the router.Check this link.

  • Issue sending mail to outlook?

    Hi,
    I need to map some users in CC list of mail when sending mail to outlook.
    Where i can achieve that with in workflow development?
    Thanks

    Hi,
    Using this FM SO_NEW_DOCUMENT_SEND_API1 you can send in the RECEIVERS you have to assign as below.
    RECEIVERS-COPY            = 'X'   u201C Carbon Copy (CC)
    RECEIVERS-BLIND_COPY = 'X'   u201C Blind Carbon Copy (BCC)
    1) You have to create a Method in the BO to send Mail using this FM SO_NEW_DOCUMENT_SEND_API1 and assign as shown above.
    2) Then call this Method in the Workflow via Task.
    Regards,
    Surjith

Maybe you are looking for

  • Error in webAS SR1 upgrade to SP 11

    Hi, When updating a webAS 6.40 ABAP+Java SR1 to SP11, it fails due to an error on step 17/21 (Deploy via SDM/J2EE). The sapinst log states: <i>MUT-02041 SDM call of deploySdaList ends with returncode  4. See output of logfile /sapinst/webas_ps11/call

  • Using Adobe Acrobat Professional 7

    Hello everyone,     I am trying to make a pdf document from different scanning of my work. Some are text and some are art work, in either case, the material in each page is not centered it, and not all pages are the same size for some reason, even th

  • HT201343 can i update late 2007 imac to run apple tv?

    I have late 2007 Imac running osx 10.6.8.  I would like to run apple Tv.  How can I do that?  Do I need to upgrade to the new Mountain Lion? Thanks

  • Incoming connections now at start-up

    I am now all of a sudden (after a couple of years of never seeing it) being asked to allow/deny Incoming connections for several items: -krb5kdc -qmasterd -qmasterqd -compressord and a few others. Why all of a sudden?

  • YTD Dyna Calc calculation without DTS, problem whith other Dyn.Calc members

    Hello, I guess my problem is a very classic one : I want to use a specific dimension member to calculate Year to date (and not DTS for severals reasons). That's not the first time I'm doing this but I've a problem when I cross two Dynamic Calc member