How to get mail from POP3S or IMAPS server

I have problem to get mail from pop3s or imaps potocol by javamail api.
Help me please!

Please refer the link http://www.javaworld.com/javatips/jw-javatip115.html. This could be the solution to your problem.

Similar Messages

  • I set up two identities, the default & one more. How to get mail from the second one?

    I have two different e-mail addresses that I want to get mail from. So the main/default one worked just fine. So I went to options, account settings, identities and set up the second one. But this second one doesn't appear on the start page and still when I Get Mail, it only brings in the mail from the default one. So what do I do?

    You do not place your second account in Identities.
    You go to the Menu Bar and select '''File-New-Existing Mail Account''' and add it there.
    No Menu Bar? Press the alt key.
    If using the '''AppMenu button''', click that and select''' New Message-Existing Mail Account'''

  • How to get mail from exchange 2003

    can any one help i have a new mac book pro and i wont to get mail from my companey
    we use microsoft exchange server 2003 help help help please

    Hello metalcraft,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    OS X Mountain Lion: Cannot connect to Exchange server in Mail after upgrading
    http://support.apple.com/kb/TS4363
    If you have issues connecting to the Exchange server or don't know what server addresses to use, contact your Exchange administrator or IT administrator.
    Best of luck,
    Mario

  • How to get mail from Outlook to SAP GUI (workflow)

    Hi All ,
    How can we get a mail from outlook or personal mail into SAP GUI .
    can it be used as an event for 'wait for event step ' in workflow . ?
    Thanks ,
    Naval bhatt

    Hi Naval,
    I just want to clarify some areas from your question:
    1. Will a workflow be triggered because of the email from Outlook to SAP? Does it always have to start from the Outlook side?
    The integration of SAP Workplace (thru Workflow) and Outlook is possible using the Extended Notification (tcode SWNCONFIG). Here, you can send an email from SAP to Outlook then execute a function from your Outlook message and then you will be directed to the tcode of SAP side (SAP GUI).
    Regards,
    Reymar

  • How to get certificate from sun one directory server

    I have installed sun one directory server 5.2. Now in order to connect to the server through ldap protocol i need certificate on the client side.
    How to get the certificate from the sun one directory server...??
    ( Earlier i tried the same procedure with active directory .and i got the certificate successfully ...as well as ldap authentication..but don't know what to do with the sun one..???)
    Any tips on this issue will be helpful
    thank you

    You didn't make mention of setting up ssl on the server side, so search these boards for openssl. Some nice person uploaded an nice example of how do use openssl to do this.
    To get the ssl certs for the solaris-client ssl authentication ( tls:simple ) to work you will need to use netscape to connect to the ssl port to get the right format. There are comments in that same doc on how to do that.

  • How to get mail from old computer to new in one place?

    I've had lots of trouble merging my data from a G4 iMac to a new iMac. Now my problem is mail.
    After the first Migration all was OK with mail. Then, because of other problems, I had to erase the entire new iMac. In doing so I lost about 10 days of mail. Now I have some new mail in the new Mac and lots of old mail in the old Mac and I can not get them together.
    The new Mac has two POP folders in the Mail folder in the users Library. One has messages from 12/09 to 3/24/10. This one is named after an account I had 3+ years ago. The second POP folder has messages from only 3/29/10. It is named with the present account. Neither has the current messages that are in the inbox of Mail now. The current messages are from 3/29/10 until today but I can not find them in a folder, only by opening the mail program.
    The mail prefs have been altered also. I had a major problem with a pref causing trouble ejecting disks and forbiding the Mac to start. All prefs were trashed. (I think I can find them, I kept them in folders rather than trashing them. However, there are several of these folders as I had to trash and restart several times.)
    How can I get all my mail back together into one current mailbox?
    Thanks.
    Geoff

    Thanks for this info. I wish I had know this before I migrated. And I wish the Mac sales person had know. And I wish the folks at Mac support had known. Or perhaps with so many experienced folks not knowing could it be controversial?
    Be that as it may, the migration was done (several times) the new computer was non-functional but now seems to be OK. All I want now is to get my old email (from the old Mac) together with the new email (The stuff I've collected since being on the new Mac). That didn't work with the migration and getting all this straightened out has taken long enough that there is a collection of new email.
    Geoff

  • How does Apple Mail handle a full IMAP server?

    I am using IMAP on my serverr with the Apple Mail application.  I would like to know what happens when the mail server gets full.  Am I supposed to monitor the amount of room, or does Apple Mail automatically archive the mail entries on my computer? 
    Also, if the server loses its mail, will Apple Mail retain the mail locally or should I create a archive folder to handle any server problems?
    I was using a POP server before and never worried about this because the mail was always on my computer and if the POP server got full or lost mail, I would not lose anything I already received since it was stored locally.

    The state of your server is your issue, if it fills up you won't be able to receive mail. Make a local folder (On Your Mac) and move old mail there.

  • How to migrate mails from Google Apps to MS Exchange Online IMAP (Getting error)

    Any tips on How to migrate mails from Google Apps to MSOL? What is required? When I am trying to migrate using IMAP but getting fpollowing error
    =======================
    Summary: 1 item(s). 0 succeeded, 1 failed.
    Elapsed time: 00:00:11
    [email protected]
    Failed
    Error:
    Failed to log on successfully for the following reason:
    Server rejected Basic login with following message : * CAPABILITY IMAP4rev1 UNSELECT LITERAL+ IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE.
    Exchange Management Shell command attempted:
    'Microsoft.Exchange.Transporter.Provider.PopImap.InternetMailboxMeta' | Move-XsIMAPMailboxToExchangeOnline -AllowUnsecureConnection $false -TargetCredential 'System.Management.Automation.PSCredential' -MaxThreadCount '10' -Quiet
    Elapsed Time: 00:00:11
    ======================
    Any help will be much appreciated.
    Regards
    Sunil DK

    I just finished migrating a client from Google Apps to Microsoft Exchange Online using the IMAP option in the Microsoft Online Services Migration Tool.  
    I added the mailboxes by creating a CSV file [i.e. GoogleApps(Gmail)_Mailboxes.csv] in the following format:
    SourceIdentity,SourceServer,SourceLoginID,SourcePassword,TargetIdentity
    [email protected],imap.gmail.com,[email protected],P@ssword1,[email protected]
    [email protected],imap.gmail.com,[email protected],P@ssword2,[email protected]
    [email protected],imap.gmail.com,[email protected],P@ssword3,[email protected]
    Then I created a custom folder map XML file [i.e. GoogleApps(Gmail)_FolderMap.xml] to map the Google Apps (Gmail) labels to the appropriate Exchange (Outlook) mailbox folders and create those that didn't exist (i.e. Important, Starred, Follow up,
    Misc, Priority) as sub-folders under the Inbox:
    <?xml version="1.0" encoding="utf-8"?>
    <FolderMappings xmlns="http://tempuri.org/FolderMap.xsd">
    <!-- This xml contains the mapping of foldername in source server to folders in target server -->
    <!--
    "path" is the name of the folder in source server
    "Name" is the name of the folder to be mapped into target server
    "SpecialFolder" is the name of the special folder to be mapped into
    target server (Name will be ignored) valid values are :
    Inbox
    Calendar
    Tasks
    Sent Items
    Deleted Items
    Drafts
    Junk E-mail
    Contacts
    Outbox
    Journal
    Notes
    "Description" Description of the folder
    "ExcludeFolder" indicates folders to exclude. Valid values are:
    true (case sensitive)
    false (case sensitive)
    0
    1
    -->
    <!-- Default Mapping Section -->
    <Folder path = "INBOX">
    <Property SpecialFolder = "Inbox"/>
    </Folder>
    <Folder path = "New Mail">
    <Property SpecialFolder = "Inbox"/>
    </Folder>
    <Folder path = "[Root]">
    <Property SpecialFolder = "Inbox"/>
    </Folder>
    <Folder path = "">
    <Property SpecialFolder = "Inbox"/>
    </Folder>
    <Folder path = "Calendar">
    <Property SpecialFolder = "Calendar"/>
    </Folder>
    <Folder path = "Tasks">
    <Property Name = "Migration items/Tasks"/>
    </Folder>
    <Folder path = "Sent Items">
    <Property SpecialFolder = "Sent Items"/>
    </Folder>
    <Folder path = "Sent Mail">
    <Property SpecialFolder = "Sent Items"/>
    </Folder>
    <Folder path = "Sent">
    <Property SpecialFolder = "Sent Items"/>
    </Folder>
    <Folder path = "Deleted Items">
    <Property SpecialFolder = "Deleted Items"/>
    </Folder>
    <Folder path = "Trash">
    <Property SpecialFolder = "Deleted Items"/>
    </Folder>
    <Folder path = "Drafts">
    <Property SpecialFolder = "Drafts"/>
    </Folder>
    <Folder path = "Draft">
    <Property SpecialFolder = "Drafts"/>
    </Folder>
    <Folder path = "Junk E-mail">
    <Property SpecialFolder = "Junk E-mail"/>
    </Folder>
    <Folder path = "Spam">
    <Property SpecialFolder = "Junk E-mail"/>
    </Folder>
    <Folder path = "Contacts">
    <Property Name = "Migration Items/Contacts"/>
    </Folder>
    <Folder path = "Outbox">
    <Property SpecialFolder = "Outbox"/>
    </Folder>
    <Folder path = "Journal">
    <Property SpecialFolder = "Journal"/>
    </Folder>
    <Folder path = "Notes">
    <Property SpecialFolder = "Notes"/>
    </Folder>
    <Folder path = "Public Folders">
    <Property ExcludeFolder = "true"/>
    </Folder>
    <!-- Google Apps (Gmail) Specific Mapping Section -->
    <Folder path = "[Gmail]/All Mail">
    <Property ExcludeFolder = "true"/>
    </Folder>
    <Folder path = "All Mail">
    <Property ExcludeFolder = "true"/>
    </Folder>
    <Folder path = "[Gmail]/Drafts">
    <Property SpecialFolder = "Drafts"/>
    </Folder>
    <Folder path = "[Gmail]/Important">
    <Property Name = "Inbox/Important"/>
    </Folder>
    <Folder path = "[Gmail]/Sent Mail">
    <Property SpecialFolder = "Sent Items"/>
    </Folder>
    <Folder path = "[Gmail]/Spam">
    <Property SpecialFolder = "Junk E-mail"/>
    </Folder>
    <Folder path = "[Gmail]/Starred">
    <Property Name = "Inbox/Starred"/>
    </Folder>
    <Folder path = "[Gmail]/Trash">
    <Property SpecialFolder = "Deleted Items"/>
    </Folder>
    <!-- Custom Mapping Section -->
    <Folder path = "Follow up">
    <Property Name = "Inbox/Follow up"/>
    </Folder>
    <Folder path = "Misc">
    <Property Name = "Inbox/Misc"/>
    </Folder>
    <Folder path = "Priority">
    <Property Name = "Inbox/Priority"/>
    </Folder>
    </FolderMappings>
    Additionally, I had to tell the Internet E-mail Mailbox Migration Wizard to use the "Individual Account Credentials" option since I was able to specify each account password in the CSV file when adding the mailboxes to Microsoft Online Services Migration
    Tools console.
    Just to note, the users had to manually export their contacts to a CSV file and calendars to iCal (ICS) files in order to import those items into Outlook.
    I hope this will benefit others since Microsoft doesn't seem to have a custom, specifically defined migration strategy for this scenario.  With Google Apps being in direct competition with BPOS/Office365, I assumed that Microsoft would have a simple
    strategy using something like ActiveSync to facilitate the migration of email, contacts, calendar entries, etc.  Hopefully we'll see something along those lines become available in a future release of the migration tools.
    --Jon Payne

  • How do I get Mail from my hotmail account?

    I was wondering if I could get my mail from my hotmail account right into my mail. Also if I could get mail from an address originally opened on Windows with Outlook Express. Thanks a lot.

    The short answer, for now, is you don't. It's increasingly clear that Microsoft does not want to extend this privilege to users of free HotMail accounts, not does it want to offer POP3 access to anyone other than paying HotMail Plus users at this point, and for the foreseeable future. And, IMAP: that's out of the question, apparently.
    While the plugin idea is a nice one, the referenced open-source HTTPMail plug in is broken by Mac OS X 10.5, and nothing has been heard to date from the developer about an update to support Mail in Leopard.

  • Changing Mail Account from POP3 to IMAP

    I have to change hosts for my domain and primary e-mail address, and as long as I need to recreate my account, I’d like to change it from POP3 to IMAP. How would I change the account settings in Mail so that all my previous e-mails aren’t deleted when I change protocols? Thanks.

    As I don't know whether what you want to do is possible or not, I would rather create a new account with the new settings and copy the emails from the old one to the new one (I think this will keep email dates correct). Then, after verifying that the new one works OK, I would delete the old one.

  • TS3988 How can I verify my icloud account without being able to get mail from the account?

    How do I verify my icloud account without being able to get mail from that account?

    The verification email will be sent to your primary Apple ID email address.

  • How to stop mail from recovering a too large message

    how to stop mail from recovering a too large message

    You can't stop Mail from storing sent messages locally. If they're synchronized with the IMAP server, they'll still be present locally. The only way to get the effect you seem to want is to use webmail.

  • Converting my Mail from POP to IMAP

    I am considering converting my ISP email account in Apple Mail from POP to IMAP. I had never given this much (any) thought until I recently got an iPhone and noticed that the email account that it setup for my ISP email (Charter) was an IMAP one. This has created a little bit of a conflict and has sometimes resulted in my inbox or get mail on my desktop Apple Mail being "locked up" for a while when I have just previously read the mail on my iPhone. (I get the message on my iMac that my ISP email is currently in use by another mail client). I had never run into this problem before and I've read that it does happen and happens more often when you have both POP and IMAP clients trying to access the same mail server.
    One question is do I just go into the accounts settings on Mail on my iMac and change the incoming and outgoing servers to the appropriated IMAP ones? Or should I create a whole new account in Mail and use the IMAP settings from the start? What will happen to the folders and subfolders I already have in my Mail program? Going forward with IMAP, will I be able to download the emails from the server like I have always done and categorize them into folders using Mail?
    This is all kind of confusing right now. Thanks.
    Steve M.

    You're welcome.
    Is there any harm in leaving my desktop Mail as is (POP account) and just realizing that I may experience an occasional "lock out"?
    There is no harm with doing so, but I'm not sure why you would want to.
    How do I release the email account from my iPhone?
    There is no option for this.
    I already have my data settings on the iPhone to "fetch" every hour--not to push. But does this apply to the IMAP account on the iPhone?
    Push access for received messages applies to an email account that supports Push access. The following email accounts support Push access for received messages:
    MobileMe
    Exchange
    A Yahoo account created with the Yahoo account preset.
    "If" I decided to convert my desktop Mail account to IMAP, could I not just "add" the new account? Would I necessarily have to delete the POP account?
    You don't have to delete the POP account, but you would want to make it inactive or disable the account with the Mail app - Mail > Settings > Accounts > Select the Account > Under the Advanced tab for the account settings deselect Enable this account.
    If you want access to the locally stored messages in the POP account's Inbox and Sent mailbox with the iPhone's Mail app, you want want to copy the messages to a server stored mailbox or mailboxes after creating the account as an IMAP account.
    Can I setup the account as POP on my iPhone and just keep it all POP? Or is this dependent on Charter's policies?
    This depends on Charter, but I don't see why you wouldn't be able to access the account as a POP account with the iPhone's Mail app as well, but this will not get rid of the "locked out" problem on occasion.
    A POP account is from the early dark ages of email account access with an email client on a computer when the overwhelming majority at the time had access to a single computer only - before there were laptops and laptops became mainstream, and before there were handheld cell phones much less cell phones in the smart phone category. Until the iPhone, phones in the smart phone category were primarily targeted and sold to the business/enterprise market, not to the consumer market. The iPhone changed all that - just look at all the copies and different phones in the smart phone category that surfaced after the original
    Although it is possible to access a POP account with more than one email client, a POP account is designed to be accessed with a single email client only and includes a number of limitations that are not a problem with an IMAP account, which is specifically designed to be accessed with more than one email client.
    There is no "locked out" problem with an IMAP account. You can store the account's Drafts, Sent, Trash, and Junk mailboxes on the server with the Mail app on your Mac, and the account's Drafts, Sent, and Trash mailboxes on the server with the iPhone's Mail app. The account's Junk mailbox stored on the server with the Mail app on your Mac will be available automatically when accessing the account with the iPhone's Mail app along with all other server stored mailboxes created for the account with the Mail app on your Mac or via webmail access for the account using a browser. You can transfer received and sent messages to additional server stored mailboxes by category with the Mail app on your Mac and with the iPhone's Mail app which will be reflected automatically with each email client. All server stored mailboxes are kept synchronized with the server automatically with each email client used to access the account. Sent a message with the iPhone's Mail app and the message will be available in the account's Sent mailbox with the Mail app on your Mac automatically and vice-versa. Read a new message with the Mail app on your Mac and the message will be marked as read automatically when accessing the account's Inbox mailbox with the Mail app on your Mac and vice-versa. Transfer a received message to a user created server stored mailbox with iPhone's Mail app and the message will be available in that server stored mailbox automatically when accessing the server stored mailbox with the Mail app on your Mac and vice-versa.
    I keep the Mail app on my Mac launched and running 24/7 checking my IMAP account for new messages. I have the account's Junk mailbox stored on the server with the Mail app on my Mac, which is available automatically when accessing the account with the iPhone's Mail app and the same with my iPad 2. Any received message that is marked as junk and moved to the account's Junk mailbox stored on the server with the Mail app on my Mac is reflected automatically with the account's Inbox mailbox and Junk mailbox with the iPhone's Mail app and with the iPad's Mail app. The junk mail filter with the Mail app on my Mac is serving as the junk mail filter for the account with my iPhone and iPad as well - remotely since all server stored mailboxes with an IMAP account are kept synchronized with the server with each email client used to access the account.
    NONE of this is available with a POP account.
    If you have the option to access your email account as an IMAP account and you access the account with an email client on more than one computer or device, to me it is a no-brainer which way to go - IMAP, which is specially designed for this.

  • How to migrate mail from cabinets in GW 8.x to Gmail

    Hi,
    I've got a Groupwise 8.x email account and my only access is from a web browser. This account is being deactivated, and so I want to migrate all my email to my Gmail account. Through the settings of my Gmail account, I was able to IMPORT email from the Inbox of my Groupwise account. But, that step did not export any mail contained in my cabinets.
    I found some help online that showed how to EXPORT mail from the cabinet folders, but you have to have the actual Email client to do this, and I only have access from my browser. I can export mail items one at a time, but since I have many email items, I figured that there has to be a better way.
    Can anyone offer me some sugggestions and/or links to help?
    Thank you in advance.
    Scotty

    In article <[email protected]>, Scotty81 wrote:
    > I tried to install the full client on my PC. I was able to do so, but
    > it didn't work.
    Well it does require a little bit of configuration. "Little" things like
    pointing it to the GroupWise server, which depending on the size of the
    system may well be the same host name as used for webaccess, and the
    default post office port is 1677. What tripped you up in connecting?
    > So, I think your alternative of using a Thunderbird
    > email account would be my next option. I don't have an account,
    Well you do have an account that you are trying to get mail out of, that
    is the account you would be using, selecting the IMAP option and
    pointing it to the GroupWise server.
    And you have an account you are trying to get your mail into, your GMail
    account, that you'd also have to connect to via IMAP.
    > Then the instructions for extracting the Novel email from the
    > Thunderbird client?
    Select all messages from a cabinet folder, Drag and drop them into
    GMAIL. Rinse and repeat per folder.
    Andy Konecny
    Knowledge Partner (voluntary SysOp)
    KonecnyConsulting.ca in Toronto
    Andy's Profile: http://forums.novell.com/member.php?userid=75037

  • I keep getting a message "The MobileMe IMAP server ... rejected the password for ...."  I can use that password when I go to iCloud, but my e-mails won't download to my computer.  What's the mix-up?

    I keep getting a message "The MobileMe IMAP server ... rejected the password for ...."  I can use that password when I go to iCloud (and to this discussion), but my e-mails won't download to my computer.  What's the mix-up?

    If the setting is greyed out perhaps you have restrictions enabled that would prevent someone from changing accounts. Settings>General>Restrictions>Allow Changes>Accounts.

Maybe you are looking for