How to spawn email client window (e.g., Outlook message)?

I'd like to have a button that, if pressed, will spawn an email with subject, to, body, and other info filled in. For example, if I use Outlook, it would spawn an Outlook message window with everything I want filled in. Is this possible with the standard API? How about with something like JavaMail?
Thanks!
johnny
[email protected]

hi,
JavaMail as such provides the functionality of a MUA (Mail user agent) the idea is that it takes care of things such as getting mail, sending mail etc (it does not worry about protocol etc).. Now if you have to create a GUI like Outlook you would have to do it using Swing and you will use JavaMail for doing the actual job of sending the mail, receiving mail etc..
so a theoritical stack could be for eg
Swing GUI (top layer, GUI like outlook)
JavaMail (middle layer MUA, takes care of sending/ receiving mails )
SMTP / POP / IMAP (lower layer, actual protocol through which mail is sent / received)
hope that helpz
cheerz
ynkrish

Similar Messages

  • How to make email client account setup automatically select inbound mail and smtp server.

    I have the mail service successfully running on OS X Server 10.8.2.  I am able to send and receive email as well as setup email accounts on various email clients (iphone, ipad, mac, etc).  I notice that when I set up a new account that I have to specify both the inbound and smtp mail servers as well as specifying the user id for each.  I am using an SSL certificate that appears to be working.  The ports are selected (993/995 and 587) automatically and the default is to use SSL.
    However, when I set up a Comcast account - (configured as "other") - I only have to enter Full name, email address and password - and from this it is able to determine that the incoming mail server is "mail.comcast.net" and outgoing smtp server is "smtp.comcast.net".  It also fills in the userid and password for both inbound and smtp servers - as well as the ports.  I have been trying to get this to work automatically when setting up accounts for my mail server - but have not been able to figure out how to do this - or if it is possible.
    In googling - I have found that I can set up several different SRV records such as (_submission._tcp, _imap._tcp, _imaps._tcp, _pop3._tcp, _pop3s._tcp) and these are supposed to provide this functionality to email clients that are able to use the SRV records.  I have set these up externally at my registered domain provider - and I am able to query them via nslookup, dig and host.
    Is Comcast using some other special method of providing the server names to the mail client setup - or am I doing something wrong - or is this a functionality that needs to be supported on the mail server side as well.  I am relatively new to mail servers and trying to work my way through the learning process.

    Understand the functionality you are wanting, basically one can use Outlook / Exchange mail server as an example. It just happens.
    As I understand in the background the DNS _SRV records point to a machine which serves up an XML file and that is the information which tells the client how to configure itself.
    I did some research before posting my first reply and found that, in the Apple client situation, even when someone setup the the SRV records + the XML it didn't work seamlessly.
    https://discussions.apple.com/message/12949449#12949449
    Here's some other links that give some more background.
    https://groups.google.com/forum/#!msg/macenterprise/qIKUMxMae8o/iLnIkMgeOX0J
    http://www.virtuworks.com/how-to-setup-outlook-autodiscovery-for-your-domain/
    If you were going to persue it you will need to find out the format for the autodiscovery XML file. Also the XML file will have to be hosted on your server, you couldn't likely put it on the public DNS server.

  • Cannot complete email client form, keep getting error message "Invalid credentials check email and password"

    I have Elements and Premier Photoshop 8 on my windows 7, 64 bit, computer.  I just downloaded the upgrade to #13 for both.  The Elements downloaded ok and transferred pictures from #8.  My problem is that on 13 I cannot configure an email client so I can email my photos to other people.  When I fill out the configure email client form I get an error message that says "Invalid credentials Please check your email address and password and try again"  I did that and continued to receive the same error message. I entered the email address and password I use to get into my adobe account.  How can I solve this problem?

    Hi,
    In the organizer, in the Preferences -> Email, the email address and password is not your Adobe Id, it should be your mail service provider - it could be a Microsoft Account or a Gmail.
    When you normally use emails, you must have an email account with a password - use that.
    If you have to use the "other" type of service provider, it needs to be configured for the SMTP service.
    Brian

  • How to set Email Body in srw.add_parameter(myPlist,'MESSAGE'....

    Hi, i have created following procedure to send email using event driven Publishing API,
    it works fine, i have using "message" and "body" in add_parameter ,but it send email with no body/message,blank email body.
    Please help out how to set email body....
    im using
    - AS 10g(10.1.2)
    - Windows Server 2003
    --procedure
    CREATE OR REPLACE PROCEDURE testemail
    is
    myPlist SRW_PARAMLIST;
    myIdent SRW.Job_Ident;
    myStatus SRW.Status_Record;
    BEGIN
    --srw.start_debugging;
    myPlist := SRW_PARAMLIST(SRW_PARAMETER('',''));
    srw.add_parameter(myPlist,'GATEWAY','http://myserver:7778/reports/rwservlet');
    srw.add_parameter(myPlist,'SERVER','myrepserver');
    srw.add_parameter(myPlist,'REPORT','D:\Reports\abc.rdf');
    srw.add_parameter(myPlist,'USERID','abc/xyz@mydb');
    srw.add_parameter(myPlist,'DESTYPE','mail');
    srw.add_parameter(myPlist,'DESFORMAT','PDF');
    srw.add_parameter(myPlist,'DESNAME','[email protected]');
    srw.add_parameter(myPlist,'SUBJECT','Test Mail');
    srw.add_parameter(myPlist,'MESSAGE','This is test email');
    srw.add_parameter(myPlist,'FROM','[email protected]');
    myIdent := srw.run_report(myPlist);
    myStatus := srw.report_status(myIdent);
    --srw.stop_debugging;
    end;
    /

    1. Current work flow :-In web site the user have to register themselves in the web site and enters his details along with user id, password and email id. Once user
    is registered then he will login with his user id and password. The user id is picked from login control and that set in “SPWeb.CurrentUser” as user id and system uses "Membership.ValidateUser" method to Authenticate user for login. 
    2. New Requirement: we would like to facilitate the user to login with Email id as well as user id. 
    Problem: 
    We replaced "Membership.ValidateUser" method to our own method to Authenticate user with email id/user id and password. 
    When user is login with user id and password it is working successfully but in the case of email id and password –“the email id is picked from user control and set as
    "HttpContext.Current.User.Identity.Name" but we are not getting “SPWeb.CurrentUser” and it shows null value.” 
    We are able to get user id from database using email id of user. Please help us how we can set user id in "SPContext.Current.Web.CurrentUser".
    Mohan Prakash

  • Playbook Email Client crashing on a certain message (OS2.0 / account IMAP, HTML email)

    Hello,
    I receive since years emails from finanznachrichten.de. Now on my Playbook 2.0 the email client (not bridge) is crashing when rendering this email. For now I delete the message by Torch before reading emails on the PB. So I think there must be a bug on the PB for a not managed exception. any ideas?
    thanks
    Marc
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up

    I am new in PB, I got the same problem, certain email crashing when I click on it
     OS 2.0.......

  • How to sync a Lumia Windows Phone with Outlook

    Hi
    Like all I see I also bought a windows 800 on the basis that all our team of 50 would change from Iphones to windows so we could sync with our outlook which is not server based but we each run our own outlook folders but no there is no outlook sync.   Yes you can copy to the live account and then use that as your main calendar but who wants to do that?
    I asked and was told specifically that it would sync with outlook so the Carephone Warehouse guy either lied or did not know his stuff ( I know what my guess is!)    Amazingly my wife's samsung galaxy using Android does sync.
    If you can tell me how I can synchronise my windows phone with my Outlook without exporting and importing CSV and ICS files then please do so.
    Moderators note: changed thread title to reflect subject. Moved from another thread.

    Hi wobblybob,
    Welcome to the forum and thanks for posting!
    When you are told you can sync a Windows Phone with Outlook that would be correct. What you are really asking is 'can I connect my Lumia to the PC with the USB cable and sync with Outlook offline'. The answer to that would be no.
    How you sync with Outlook can be answered in a short and long version. The long and extensive version can be found here. The short version is:
    For Outlook 2003 and 2007 install the Outlook Hotmail connector and setup an account for your  LiveID, for Outlook 2010 just setup the account and it will prompt you to install the connector. A step by step guide can be found here.
    Hope this helps, let us know how you get on!
    Kosh
    Press the 'Accept As Solution' icon if I have solved your problem, click on the Star Icon below if my advice has helped you!

  • When I use "Email link" in Firefox, the Outlook message default formatting changes (font, font size, paragraph spacing) - how can I stop this from happening?

    In Outlook, my default message format includes the following:
    Font: Arial 10pt font
    Spacing: Before: 0pt, After: 0pt
    When I email a link from Firefox, a new message opens, which has the following formatting:
    If I type anything before the URL, the formatting is:
    Font: Arial 10pt font
    Spacing: Before: 0pt, After: 0pt
    If I type anything after the URL, the formatting is:
    Font: Times New Roman 12pt font
    Spacing: Before: Auto, After: Auto
    This doesn't happen with Internet Explorer - when emailing a link, my default message format is retained.
    Since I email a lot of links for my job, and I prefer to use Firefox, this is a pretty annoying issue!
    Any help would be greatly appreciated.
    Thanks,
    Michelle
    Outlook 2007
    Firefox 36.0.4

    From Firefox, I click on "File' and then 'Email link'.
    This results in a new Outlook message opening automatically, with the URL copied into the body of the message.
    I then add my own text, see the screenshot image. That's where the formatting problems come in!
    Cheers,
    Michelle

  • How to access emails in windows mobile using java?

    is there any facility in j2me to access email folders like inbox or sent in windows mobiles?
    Thanks in advance,

    See this, it may help you
    http://www.trustice.com/java/jnireg/

  • How to get emails from Windows Live Hotmail

    Hi,
    Don't tell me I didn't read the FAQ, I know they talk about that but apparently this FAQ is older than my grandmother, links don't work anymore or when they do, the applications are no longer maintained.
    Plus pop3 should work now with Windows Live Hotmail.
    Anyway, when I try, the authentication is ok, but I get an exception saying that my mailbox is not available or something like that (I can give you the exact message when I am back on Eclipse).
    My code works for gmail, yahoo, and other simple webmails.
    So, today, at the end of 2008, is there someone who is able to read his Windows Live Hotmail emails thanks to Javamail (or any other Java API)?
    Thank you very much!
    Edited by: TheMCME on Nov 27, 2008 8:56 PM

    Hi,
    In the FAQ, for the question "Can I use JavaMail to read mail from my web mail account (such as Yahoo or Hotmail)?", these links don't work: "JHTTPMail project" and "http://mrbook.org/mrpostman/"
    About my code, here is what I get when I test:
    DEBUG: setDebug: JavaMail version 1.4ea
    DEBUG: getProvider() returning javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]
    DEBUG POP3: connecting to host "pop3.live.com", port 995, isSSL false
    S: +OK BLU0-POP18 POP3 Server ready
    C: USER [email protected]
    S: +OK
    C: PASS xxxxx
    S: -ERR mailbox for [email protected] is not available
    C: QUIT
    javax.mail.AuthenticationFailedException: mailbox for [email protected] is not available
         at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:146)
         at javax.mail.Service.connect(Service.java:275)
    (etc.)

  • How to create email to Support Team when NEW message created in SupportDesk

    Hi there,
    I have been sitting with this for a while now, and am quite frustrated. I want to know whether it is possible to generate an email notification to the Support Team in the Service Desk whenever a new message is created by the user. So far, the Org Structure is correctly set up in PPOMA_CRM. The rule CRM_DNO_1 (13200137) is configured and works. Application CRM_ORDER with Action Profile SLFN0001_ADVANCED is configured, and by standard config works by correctly determining the responsible Support Team per SAP Component whenever a new message is created. Lastly, I have configured my own Action Definition that sends an email to the user (Reported By) to notify him whenever the Status of the message changes (like to In Process or Confirmed etc), which works.
    Now, whenever a new message is created by a user in the satelite system, it gets created in Service Desk and the Reported By, Sold-to-Party and Support Team are determined and the status of the message is NEW. When looking at the message in Service Desk under Actions, the only action assigned so far is  the "SLFN0001_ADVANCED_FIND_PARTNER - Find support team responsible, when message is created" action. Now, the issue is this: how do you assign an action to the message straight after the Support Team determination, but before any other processing takes place in the message (meaning, you have to click on Change in Service Desk to start processing the message - when doing this, additional actions are assigned). I have created my own Action Definition (copy of SLFN0001_ADVANCED_FIND_PARTNER) and added another Processing Type after the Method Call (CRM_DNO_PARTNER_1) to email a Smartform (Processing Type = Smart Forms Mail) to the Support Team. But from here things just dont work - either it skips the Support Team determination, or it doesn't process the SmartForm type at all. Even by creating a standalone Action Definition and using Partner Determination / Function SLFN0003 (Support Team - almost same like to notify the Reported By about status changes to the message), this newly-defined action doesn't even list under Actions in the message whenever a new message is created. Only after clicking on Change in the message does this action for the first time list and execute, which is pointless - you don't want someone to open the message first and change it to enable notification of the Support Team of a new message; this should happen as soon as the message gets created.
    So, if there is anyone out there who has done this before, please help, it would be much appreciated.

    Gavin,
    I managed to get this working in our system.
    This is what I did:
       - action ZSLFN0001_ADVANCED_FIND_PRTNR (copy of SLFN0001_ADVANCED_FIND_PARTNER): changed in processing type the method to ZCRM_DNO_PARTNER_1 which I created as described in note 1041455. The Sort Order of this action has the same number as the original action of SAP (nr. 10 in my case).
       - I created another action Z_MAIL_TO_SUPPORTTEAM_OPEN with Sort Order one higher than the previous (nr. 11 in my case).
    Processing Time: When saving document
    Processing Times not permitted: No Restrictions
    Sort Order: 11
    Schedule Automatically
    Partner-Dependent: SLNF0003
    Determination Technology: Using Conditions that can be Transported
    Rule Type: Workflow Conditions
    Action Merging: Max. 1 Action for Each Action Definition
    Processing Type
                  -  Form Name: ZFORM
                  -  Processing Class: CL_DOC_PROCESSING_CRM_ORDER
                  -  Processing Method: CRM_SRVORDER_EXEC_SMART_FORM
                  -  Archive Mode: Mail Only
    Then I configured a Schedule Condition for Z_MAIL_TO_SUPPORTTEAM_OPEN: &CRM Service Process.User Status& = E0001ZSMSD001.
    For me it's working like a ChaRM now
    Hope it also solves your problem!
    Best regards,
    Roel

  • How do I remove a Windows partition after Firmware message?

    Want to remove the windows partition on my 2006 MacBook running Leopard. I tried Bootcamp Assistant but it says I need to update my Firmware. I downloaded the update suggested and then had a message saying the firmware didn't need updating. Tried Bootcamp again and had the same update message. How do I get rid of the disk partition? Any suggestions appreciated.

    Related problem. I upgraded my Tiger partition to 10.6.8. Boot Camp was eliminated in the process. When I choose Boot Camp assistant from finder it checks and reports that the 'software is not available' (core 2 duo 3,1).
    I understand that DU is not to be used but I can't figure out how to eliminate the old Win XP if I can't get bootcamp installed.
    Any ideas would be very much appreciated.
    Mike O

  • BI Publisher how to make email body not be a attachment (message.txt)

    I am using Oracle Business Intelligence Publisher Release 10.1.3.4 Part Number E12602-01 with OBIEE 10g. When I schedule a BI pub PDF report send via email, my text in "BODY" text area shows up as an attachment (message.txt) not in the email body. How can I solve this. We don't need bursting.
    Thanks in advance!

    jordansydney wrote:
    I have literally tried everything! read all the forums! I need an actual solution!
    If everything has been tried, there is nothing more to try.  Just give up. 
    Or Troubleshooting FaceTime and iMessage activation issues

  • How to Extract email subject with date from outlook?

    Hello,
    I am new to powershell and was wondering how i can extract the email subject with date for entire last month? i need to generate a report every month end and have to go through all the emails which can be very cumbersome at times. 
    Divyansh 
    Divyansh

     Ok i was able to find the commands but it only list email which are exactly 2 week old .. it does not list the recent items ..  
     Add-type -assembly "Microsoft.Office.Interop.Outlook" | out-null
     $olFolders = "Microsoft.Office.Interop.Outlook.olDefaultFolders" -as [type] 
     $outlook = new-object -comobject outlook.application
     $namespace = $outlook.GetNameSpace("MAPI")
     $folder = $namespace.getDefaultFolder($olFolders::olFolderSentMail)
     $folder.items  | where { $_.SentOn -gt [datetime]"3/1/2014" -AND $_.On -lt [datetime]"3/25/2014" }  | Select-Object -Property Subject, SentOn, Importance, SenderName
    Divyansh

  • How can Webservice manage client sections and send back messages to clients

    Hi all.
    I am starting working with Webservice (jax-ws). Now i can make a good server side and on client side i can use method interface on webservice server side.
    But i want to make a advance feature as Server side manage client section and can send back message to client when Server change status...
    I know RMI and Corba can seems to support to send back messages to sections of cliens right ?
    So Webservice can do it ? Please help me !
    Thanks
    Diego
    Edited by: ThuCT on Sep 14, 2010 1:57 AM

    Hi all.
    I am starting working with Webservice (jax-ws). Now i can make a good server side and on client side i can use method interface on webservice server side.
    But i want to make a advance feature as Server side manage client section and can send back message to client when Server change status...
    I know RMI and Corba can seems to support to send back messages to sections of cliens right ?
    So Webservice can do it ? Please help me !
    Thanks
    Diego
    Edited by: ThuCT on Sep 14, 2010 1:57 AM

  • How to I email merge using word and outlook on my macbook pro?

    The 'generate email messages' option is greyed out - help!!

    Log out of your Cloud account... Restart your computer... Log in to your paid Cloud account
    -Sign in help http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html
    http://www.adobe.com/products/creativecloud/faq.html
    http://helpx.adobe.com/creative-cloud/help/install-apps.html to install or uninstall
    http://forums.adobe.com/community/download_install_setup/creative_cloud_faq
    What it is http://helpx.adobe.com/creative-cloud/help/creative-cloud-desktop.html
    Cloud Getting Started https://helpx.adobe.com/creative-cloud.html
    -Install, update or UNinstall, and launch after installing

Maybe you are looking for