SMTP / Gmail solutions

My current workarounds for SMTP / gmail issues:
1) SMTP server issue - basically, its hard to know what SMTP server to use since you change location / data provision constantly. This is my current solution:
a. Get a gmail account
b. add the account that you want to use as an account in gmail (see settings)
c. set up the outgoing server on iPhone for gmail settings (under whatever mail account you want in settings -> mail -> account -> outgoing server):
1. pop.gmail.com:587
2. user name (full email address or just gmail user name)
3. pass word
4. turn on outgoing SSL in advanced
5. use password authentication in advanced
Because the account is added in gmail, gmail will not rewrite the from address in your outgoing emails. You cannot currently set up gmail to reforward these messages to some other account due to the way filters work in gmail. (For example, you cannot set up gmail to reforward work emails sent from your iphone via gmail back to your work address so that they could be saved in a sent box of your work email). Anyway, this solution will work for any email address on any network (wifi or edge).
You may want to set up a filter per below for your work (or whatever) email so that you don't redownload sent messages from your iPhone back to your iPhone.
2) The annoying sent emails in gmail come back to your iphone. This only applies to iPhone users who are checking gmail on their iPhone. Set up a filter in gmail which deletes all messages from you except those that are written from you and to yourself. This is done by putting [email protected] in the from field in the filter settings and putting to:([email protected]) in the doesn't have field.
Hope these help!
MBP   Mac OS X (10.4.10)   also PCs

Hi racemize-
Thanks for the solution. It worked great! My ISP is Roadrunner (Time Warner in So Cal) and I was having the same outgoing "issues" that seem to be affecting a lot of iPhone users (regardless of what ISP they have).
One question...now all my e-mails sent from my iPhone will show up as "<gmail username/e-mail> sent on behalf of <roadrunner username/e-mail>". Is there any way to get ride of that and have it just show up as <roadrunner username/e-mail>"? When people reply it does go to the correct reply-to address (roadrunner) but having that "...sent on behalf of..." is a bit annoying.
Thanks!
  Windows XP Pro  
  Windows XP Pro  
  Windows XP Pro  

Similar Messages

  • For smtp gmail users

    OK, so I'm using gmail for my smtp for my three POP accts. I find now that when I send an email from these accts I get the same email sent to my gmail acct. How can I stop this? Thanks.
    -Dooki

    If sending emails from your iPhone, turn Recent Mode off in Advanced Options.
    If sending emails from the web interface, you cannot turn this off. This is a "feature", as this is the only way Sent messages from the interface make it onto your client.

  • Issues with Mail and SMTP and Gmail Accounts

    So this isn't a question....more like a solution that I had to figure out. 
    We have multiple gmail accounts in our family and after upgrading to OSC Yosemite our gmail accounts wen't haywire.  My wife was sending emails that eventually were sent from my gmail account (mass neighborhood emails at that.....and all replies came to me instead of her).  I spent about 2 hours investigating and put together several different threads that finally fixed out problem.  The root of the issue is that you can share the same Incoming Mail Server for all of your gmail accounts and your mail will go to the accounts that it is supposed to go to, but you have to have individual Outgoing Mail Servers for each of your accounts otherwise all outgoing mail will come from one account only.  I don't know why this happened, it is a pain in the butt, but here's how I fixed it with 3 gmail accounts running through 1 mac.    
    1st - you need to remove all of your gmail accounts from mail via Internet Accounts in Settings. Just highlight the account and hit the minus sign at the bottom.  You won't lose anything if you have your gmail settings set to default which backs everything up to Google's servers....it will all load back to you mac and it will all be available online at gmail.com
    2nd - you need to add back all of your accounts one at a time (and follow all of the following steps for each account before adding another).  Select the plus sign and choose Google (for gmail accounts only). 
    3rd - Give your gmail account a recognizable name in the "Name" field (if you have multiple Gmail accounts to add, you will want to distinguish between them).
    4th - type in your username ([email protected]) and password.  Make sure to add the suffix @gmail.com. 
    5th - Check the boxes that you want to add to your mac (mail, contacts, calendars, messages, notes). 
    6th - Click the "Details" button to ensure that you have an adequate description (see # 3 above) if you are going to have multiple gmail accounts to add. 
    7th - Open the Mail app.
    8th - From Mail Preferences/Account Information Tab - make sure that you account is Enabled (check box next to "Enable Account", make sure that you have an adequate description name, email address is correct, Incoming mail server is imap.gmail.com, Username is your normal gmail login username (absent any suffix like .gmail.com), password is your gmail password. 
    9th - Then, from Preferences click on the Advanced tab and....Uncheck "Automatically detect and maintain account settings".
    10th - Then, go back to Account Information Tab and.....from the Outgoing Mail Server (SMTP) dropdown box, select Edit SMTP List....
    11th -  You need to create an individual SMTP Server Account for each gmail account that you plan to add.
    12th - To do this click the plus button.  Server Name should always be smtp.gmail.com.  Type in your own Description (I recommend naming it after the gmail account that you plan to attach it to). 
    13th - TLS Certificate should be "None"
    14th - Click the Advanced Tab - From here, uncheck the box for "Automatically detect and maintain account settings".  Then make sure Port is 587 (default is 25 for some ungodly reason).  Check the box for "Use SSL".
    15th - Set authentication to "Password".  User name MUST contain a suffice (i.e [email protected]).  Password is your normal gmail password. 
    16th - Click OK. 
    17th - Now your back at Preferences/Account Information - Link your account to the SMTP server that you just created by using the dropdown box next to Outgoing Mail Server (SMTP). 
    18th - Save all changes and close out of Mail App. 
    19th - Restart Mail and recheck steps 8-15....for some reason my passwords kept getting erased, but they eventually saved and took. 
    20th - Add another gmail account by following these steps and then recheck all along the way for passwords, suffixes, everything.  You will want to make sure that your accounts are all properly linked to their respective Outgoing Mail Servers (hence the distinct naming descriptions).   
    21st - Once you have added multiple accounts send email between them to make sure that they are being sent from and received to the correct accounts. 

    Wow! Oh my goodness Patrick, thank you so much man. That's a ton of informatiion to take the time to write out step by step and share with strangers.  I really, really am grateful to you.  I've been dealing with this for a month, half the month I kept changing my passwords and kept assuming I was making some mistake.  It used to work fine.  About a week ago I started looking for a solution and couldn't find one that worked. 
    You have changed that sir!  I'm good to go, stress level will lower when I am on my Mac, and I'm so glad to not have all these messages popping back up that I was done with! 
    Muchos Gracias Amigo!  Owe you one...

  • How can i get the SMTP IP address for gmail

    Hello,
    sapian,
              I want to schedule a webi document through BI Launch Pad to users email address gmail.So while configuring the AdaptiveJobServer in CMC i need to give SMTP details such as
    Domain name:
    Host:
    Port:
    So for scheduling a webi document to a gmail user i need the above details for gmail SMTP server.Can any one suggest me how can i get the above details for gmail SMTP server.
    Thanks in advance.
    Regards,
    Kishor Kumar S

    Hi Hrishikesh,
    i have configured the 'stunnel.conf' file with the following details
    accept  =static ip address of the machine colon port number where the stunnel is installed
    connect = smtp.gmail.com:465
    and i saved the file.
    when i go to
    Start->Stunnel->service install
    it is giving error as follows
    Error binding ssmtp to (ip address and port number which i have given in stunnel.conf file 'accept')
    bind: No error (0)
    Can you suggest me the solution for the above error.
    Thanks in advance,
    Regards,
    Kishor

  • Upgraded to Lion, now Apple Mail no longer sends via SMTP to GMAIL

    Greetings! First and foremost, THANK YOU for reading this discussion.  I truly appreciate any and all assistance. Being one who likes to exhaust all resources before posting, I have literally spent that last 7 and a half hours reading pages and pages of threads here, on Google Forums along with finding other data across the net.
    The problem started immediately upon the LION upgrade.   Everything worked fine until the upgrade and then BOOM...no more Apple Mail sending to Gmail SMTP server.  I can receive Gmail just fine, but no can send.When a message is sent, after a long while, an error message pops up stating that the SMTP server is "off line."  Obviously it is timing out.
    I have confirmed the settings in Preferences.  I have cleaned the hard drive (running the internal First Aid app).  I confirmed the password was correct in KeyChain.  I have tried a lot of corrective methods as stated in the threads.
    I have tried using different ports (25, 465, 587).  I have set the connection from smtp.gmail.com to actual IP addresses including the following:
    209.85.227.109
    74.125.91.109
    74.125.39.16
    74.125.157.109
    74.125.113.109
    173.194.68.109
    I tried it with and without TLS/SSL enabled.
    With authentication and without.
    I even tried to telnet from the Mac to smtp.gmail.com without success.  (I can telnet from a Windows machine though...OUCH)
    I am NOT running LION OS X server, just plain old LION OS 10.8.2 on my MacBrook Pro.
    Thank you in advance for any and all courtesies extended.  Looking to resume using Apple Mail with my Gmail account ASAP.
    Sincerely,
    MWG2  

    Thanks Lanny...tried it...still doesn't work.  Called Apple Support...switched to Tier 2 support person Chris P. Was on the phone with him for 2 hours and 38 minutes...we tried everything under the sun...still can't get to smtp.gmail.com...can't even telnet to it from Mac.  We did network testing too...he thought my router was blocking ports 25, 465 & 587 but the router wasn't. After exhausting every concievable MAC setting, trying a number or solutions, killing the account and re-installing multiple times, his conclusion is that there is a third party software "blocking" the send in gmail...ummmmm...makes no sense to me as everything worked perfectly until I upgraded to OS X. Hence his solution is for me to take my Mac to the Apple Store and have them look at it.  My solution?  Don't use mail on the Mac and keep using Mail on my Windows machine.  I prefer Mac, but I have now spent over the last two days in excess of 10 hours on this problem...it's not supposed to be this difficult. Lesson Learned...if something's working, DON'T goof with it...Apple Mail under Snow Leopard worked perfectly...upgraded to Mt. LION (paid for it) and now I am really paying the price for doing that.   

  • Complete working code for Gmail POP3 & SMTP with SSL - Java mail API

    Finally, your code-hunt has come to an end!!!!
    I am presenting you the complete solution (with code) to send and retrieve you mails to & from GMAIL using SMTP and POP3 with SSL & Authenticaion enabled. [Even starters & newbies like me, can easy try, test & understand - But first download & add JAR's of Java Mail API & Java Activation Framework to Netbeans Library Manager]
    Download Java Mail API here
    http://java.sun.com/products/javamail/
    Read Java Mail FAQ's here
    http://java.sun.com/products/javamail/FAQ.html
    Download Java Activation Framework [JAF]
    http://java.sun.com/products/javabeans/jaf/downloads/index.html
    Also, The POP program retrieves the mail sent with SMTP program :) [MOST IMPORTANT & LARGELY IN DEMAND]okey.. first things first... all of your thanks goes to the following and not a s@!te to me :)
    hail Java !!
    hail Java mail API !!
    hail Java forums !!
    hail Java-tips.org !!
    hail Netbeans !!
    Thanks to all coders who helped me by getting the code to work in one piece.
    special thanks to "bshannon" - The dude who runs this forum from 97!!I am just as happy as you will be when you execute the below code!! [my 13 hours of tweaking & code hunting has paid off!!]
    Now here it is...I only present you the complete solution!!
    START OF PROGRAM 1
    SENDING A MAIL FROM GMAIL ACCOUNT USING SMTP [STARTTLS (SSL)] PROTOCOL OF JAVA MAIL APINote on Program 1:
    1. In the code below replace USERNAME & PASSWORD with your respective GMAIL account username and its corresponding password!
    2. Use the code to make your Gmail client [jsp/servlets whatever]
    //Mail.java - smtp sending starttls (ssl) authentication enabled
    //1.Open a new Java class in netbeans (default package of the project) and name it as "Mail.java"
    //2.Copy paste the entire code below and save it.
    //3.Right click on the file name in the left side panel and click "compile" then click "Run"
    import javax.mail.*;
    import javax.mail.internet.*;
    import java.util.*;
    public class Main
        String  d_email = "[email protected]",
                d_password = "PASSWORD",
                d_host = "smtp.gmail.com",
                d_port  = "465",
                m_to = "[email protected]",
                m_subject = "Testing",
                m_text = "Hey, this is the testing email.";
        public Main()
            Properties props = new Properties();
            props.put("mail.smtp.user", d_email);
            props.put("mail.smtp.host", d_host);
            props.put("mail.smtp.port", d_port);
            props.put("mail.smtp.starttls.enable","true");
            props.put("mail.smtp.auth", "true");
            //props.put("mail.smtp.debug", "true");
            props.put("mail.smtp.socketFactory.port", d_port);
            props.put("mail.smtp.socketFactory.class", "javax.net.ssl.SSLSocketFactory");
            props.put("mail.smtp.socketFactory.fallback", "false");
            SecurityManager security = System.getSecurityManager();
            try
                Authenticator auth = new SMTPAuthenticator();
                Session session = Session.getInstance(props, auth);
                //session.setDebug(true);
                MimeMessage msg = new MimeMessage(session);
                msg.setText(m_text);
                msg.setSubject(m_subject);
                msg.setFrom(new InternetAddress(d_email));
                msg.addRecipient(Message.RecipientType.TO, new InternetAddress(m_to));
                Transport.send(msg);
            catch (Exception mex)
                mex.printStackTrace();
        public static void main(String[] args)
            Main blah = new Main();
        private class SMTPAuthenticator extends javax.mail.Authenticator
            public PasswordAuthentication getPasswordAuthentication()
                return new PasswordAuthentication(d_email, d_password);
    END OF PROGRAM 1-----
    START OF PROGRAM 2
    RETRIVE ALL THE MAILS FROM GMAIL INBOX USING Post Office Protocol POP3 [SSL] PROTOCOL OF JAVA MAIL APINote:
    1.Log into your gmail account via webmail [http://mail.google.com/]
    2.Click on "settings" and select "Mail Forwarding & POP3/IMAP"
    3.Select "enable POP for all mail" and "save changes"
    4.In the code below replace USERNAME & PASSWORD with your respective GMAIL account username and its corresponding password!
    PROGRAM 2 - PART 1 - Main.java
    //1.Open a new Java class file in the default package
    //2.Copy paste the below code and rename it to Mail.java
    //3.Compile and execute this code.
    public class Main {
        /** Creates a new instance of Main */
        public Main() {
         * @param args the command line arguments
        public static void main(String[] args) {
            try {
                GmailUtilities gmail = new GmailUtilities();
                gmail.setUserPass("[email protected]", "PASSWORD");
                gmail.connect();
                gmail.openFolder("INBOX");
                int totalMessages = gmail.getMessageCount();
                int newMessages = gmail.getNewMessageCount();
                System.out.println("Total messages = " + totalMessages);
                System.out.println("New messages = " + newMessages);
                System.out.println("-------------------------------");
    //Uncomment the below line to print the body of the message. Remember it will eat-up your bandwidth if you have 100's of messages.            //gmail.printAllMessageEnvelopes();
                gmail.printAllMessages();
            } catch(Exception e) {
                e.printStackTrace();
                System.exit(-1);
    END OF PART 1
    PROGRAM 2 - PART 2 - GmailUtilities.java
    //1.Open a new Java class in the project (default package)
    //2.Copy paste the below code
    //3.Compile - Don't execute this[Run]
    import com.sun.mail.pop3.POP3SSLStore;
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Date;
    import java.util.Properties;
    import javax.mail.Address;
    import javax.mail.FetchProfile;
    import javax.mail.Flags;
    import javax.mail.Folder;
    import javax.mail.Message;
    import javax.mail.MessagingException;
    import javax.mail.Multipart;
    import javax.mail.Part;
    import javax.mail.Session;
    import javax.mail.Store;
    import javax.mail.URLName;
    import javax.mail.internet.ContentType;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeBodyPart;
    import javax.mail.internet.ParseException;
    public class GmailUtilities {
        private Session session = null;
        private Store store = null;
        private String username, password;
        private Folder folder;
        public GmailUtilities() {
        public void setUserPass(String username, String password) {
            this.username = username;
            this.password = password;
        public void connect() throws Exception {
            String SSL_FACTORY = "javax.net.ssl.SSLSocketFactory";
            Properties pop3Props = new Properties();
            pop3Props.setProperty("mail.pop3.socketFactory.class", SSL_FACTORY);
            pop3Props.setProperty("mail.pop3.socketFactory.fallback", "false");
            pop3Props.setProperty("mail.pop3.port",  "995");
            pop3Props.setProperty("mail.pop3.socketFactory.port", "995");
            URLName url = new URLName("pop3", "pop.gmail.com", 995, "",
                    username, password);
            session = Session.getInstance(pop3Props, null);
            store = new POP3SSLStore(session, url);
            store.connect();
        public void openFolder(String folderName) throws Exception {
            // Open the Folder
            folder = store.getDefaultFolder();
            folder = folder.getFolder(folderName);
            if (folder == null) {
                throw new Exception("Invalid folder");
            // try to open read/write and if that fails try read-only
            try {
                folder.open(Folder.READ_WRITE);
            } catch (MessagingException ex) {
                folder.open(Folder.READ_ONLY);
        public void closeFolder() throws Exception {
            folder.close(false);
        public int getMessageCount() throws Exception {
            return folder.getMessageCount();
        public int getNewMessageCount() throws Exception {
            return folder.getNewMessageCount();
        public void disconnect() throws Exception {
            store.close();
        public void printMessage(int messageNo) throws Exception {
            System.out.println("Getting message number: " + messageNo);
            Message m = null;
            try {
                m = folder.getMessage(messageNo);
                dumpPart(m);
            } catch (IndexOutOfBoundsException iex) {
                System.out.println("Message number out of range");
        public void printAllMessageEnvelopes() throws Exception {
            // Attributes & Flags for all messages ..
            Message[] msgs = folder.getMessages();
            // Use a suitable FetchProfile
            FetchProfile fp = new FetchProfile();
            fp.add(FetchProfile.Item.ENVELOPE);       
            folder.fetch(msgs, fp);
            for (int i = 0; i < msgs.length; i++) {
                System.out.println("--------------------------");
                System.out.println("MESSAGE #" + (i + 1) + ":");
                dumpEnvelope(msgs);
    public void printAllMessages() throws Exception {
    // Attributes & Flags for all messages ..
    Message[] msgs = folder.getMessages();
    // Use a suitable FetchProfile
    FetchProfile fp = new FetchProfile();
    fp.add(FetchProfile.Item.ENVELOPE);
    folder.fetch(msgs, fp);
    for (int i = 0; i < msgs.length; i++) {
    System.out.println("--------------------------");
    System.out.println("MESSAGE #" + (i + 1) + ":");
    dumpPart(msgs[i]);
    public static void dumpPart(Part p) throws Exception {
    if (p instanceof Message)
    dumpEnvelope((Message)p);
    String ct = p.getContentType();
    try {
    pr("CONTENT-TYPE: " + (new ContentType(ct)).toString());
    } catch (ParseException pex) {
    pr("BAD CONTENT-TYPE: " + ct);
    * Using isMimeType to determine the content type avoids
    * fetching the actual content data until we need it.
    if (p.isMimeType("text/plain")) {
    pr("This is plain text");
    pr("---------------------------");
    System.out.println((String)p.getContent());
    } else {
    // just a separator
    pr("---------------------------");
    public static void dumpEnvelope(Message m) throws Exception {       
    pr(" ");
    Address[] a;
    // FROM
    if ((a = m.getFrom()) != null) {
    for (int j = 0; j < a.length; j++)
    pr("FROM: " + a[j].toString());
    // TO
    if ((a = m.getRecipients(Message.RecipientType.TO)) != null) {
    for (int j = 0; j < a.length; j++) {
    pr("TO: " + a[j].toString());
    // SUBJECT
    pr("SUBJECT: " + m.getSubject());
    // DATE
    Date d = m.getSentDate();
    pr("SendDate: " +
    (d != null ? d.toString() : "UNKNOWN"));
    static String indentStr = " ";
    static int level = 0;
    * Print a, possibly indented, string.
    public static void pr(String s) {
    System.out.print(indentStr.substring(0, level * 2));
    System.out.println(s);
    }END OF PART 2
    END OF PROGRAM 2
    P.S: CHECKING !!
    STEP 1.
    First compile and execute the PROGRAM 1 with your USERNAME & PASSWORD. This will send a mail to your own account.
    STEP 2.
    Now compile both PART 1 & PART 2 of PROGRAM 2. Then, execute PART 1 - Main.java. This will retrive the mail sent in step 1. njoy! :)
    In future, I hope this is added to the demo programs of the Java Mail API download package.
    This is for 3 main reasons...
    1. To prevent a lot of silly questions being posted on this forum [like the ones I did :(].
    2. To give the first time Java Mail user with a real time working example without code modification [code has to use command line args like the demo programs - for instant results].
    3. Also, this is what google has to say..
    "The Gmail Team is committed to making sure you always can access your mail. That's why we're offering POP access and auto-forwarding. Both features are free for all Gmail users and we have no plans to charge for them in the future."
    http://mail.google.com/support/bin/answer.py?answer=13295
    I guess bshannon & Java Mail team is hearing this....
    Again, Hurray and thanks for helping me make it!! cheers & no more frowned faces!!
    (: (: (: (: (: GO JCODERS GO!! :) :) :) :) :)
    codeace
    -----                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

    Thanks for the reply,
    I did checked by enabling session debuging and also checked pop settings it's enabled for all
    mails, I tried deleting some very old messages and now the message count is changed to 310.
    This may be the problem with gmail.
    Bellow is the output i got,
    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 "pop.gmail.com", port 995, isSSL false
    S: +OK Gpop ready for requests from 121.243.255.240 n22pf5432603pof.2
    C: USER [email protected]
    S: +OK send PASS
    C: PASS my_password
    S: +OK Welcome.
    C: STAT
    S: +OK 310 26900234
    Custom output: messageCount : 310
    C: QUIT
    S: +OK Farewell.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • SMTP settings for Gmail account -- Error 5.5.1 on Outlook for Mac

    Outlook 2011
    Error: 5.5.1
    Cannot send mail. The SMTP server does not recognize any of the authentication methods supported by Outlook. Try changing the SMTP authentication options in Account settings.
    Error Code: -17092
    I am setting up a Gmail account on Outlook. I can receive mail but not send it.
    I have confirmed the right settings with Gmail and made sure to enable IMAP.
    -- Outgoing Server -- smtp.gmail.com : 465 (or 587, both don't work)
    -- Override default port (enabled)
    -- Use SSL to connect (enabled)
    Any assistance would be greatly appreciated.

    Hi,
    I'm happy you have solved the problem, it would be kind of you to share the solution with us, which may help other users who see the same problem.
    Moreover, since you are using Office for Mac, if you have more questions about it, I suggest you visit Office for Mac forum:
    http://answers.microsoft.com/en-us/mac
    Regards,
    Melon Chen
    TechNet Community Support

  • GMAIL - VERSAMAIL - OUTLOOK Solution

    OK folks, I may have found a solution (of sorts). I've read a number of messages about how to work with Gmail's POP server. My problem was Versamail 3.5.4 wouldn't download my inbox messages from Gmail. Then I got to the point where it would do it one at a time. Finally, I'm at the point where I get all my messages (even new ones), and I'm able to send messages (although I had to filter out my own email address) all from my Treo 755p (please note the addition of "RECENT:" before your username!!!). At the same time, I am able to download my messages to Outlook Express and Hotmail. What I did:
    Settings for Versamail:
    Account Name= Gmail
    Mail Service= Gmail
    Protocol= POP
    Username= recent:[email protected]
    Password= yourpassword
    Email Address= [email protected]
    Incoming Mail Server= pop.gmail.com
    Outgoing Mail Server= smtp.gmail.com
    Advanced = = = =
    Incoming Server Settings
    Port Number= 995
    SSL= Checked
    APOP= UNchecked
    Outgoing Server Settings
    Port Number= 587
    SSL= Checked
    ESMTP= Checked
    For Outlook: I just used the program that Gmail provides (Gmailconfig.exe) and tweaked it a bit with some of the similar settings.
    I'm no expert, and I don't know how long this setup will last. It works, for now, so I'm posting the "temporary" solution.
    Post relates to: Treo 755p (Sprint)

    arkitect1 wrote:
    Is versamail compatible with the Treo 750 windows OS?? Im not sure if i should install it or not for fear it is only for the Palm OS handhelds.
    No.  Palm OS only.
    WyreNut
    Post relates to: Centro (AT&T)
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • Gmail SMTP won't save password

    I just upgraded to 1.1.3 last week and since then my iPhone refuses to save the password for my GMail SMTP server. If I try to send mail it gives me an error saying, "No password provided for user '[email protected]' on server 'smtp.gmail.com'. Please go to to Mail Account Settings and enter a password."
    If I go to settings and enter a password, it disappears the minute I leave the settings panel.
    I've tried restoring my iPhone twice, plus deleting and recreating the Mail account on the iPhone itself, all to no avail.
    Any ideas? Thanks!

    I am receiving the same problem as well after updating to 1.1.3. My email worked just fine before updating. But after updating, I notice my passwords were missing and now every time I input the password again through the Mail settings. It automatically removes itself each time I go to check the mail to see if it works... now I cannot access email like I used to.
    Anybody with solutions? Thanks.

  • The BEST solution for gmail on the iPhone

    OK, so after much poking around, I finally figured out the best solution for using gmail on the iPhone: IMAP support.
    While I think Google is still rolling this out to all users, once you get it, USE IT! It basically keeps your mail app synced with gmail, and even supports the use of folders/labels.
    To see if your gmail account is ready for IMAP, go to the settings option in gmail and see if one of the tabs says "Forwarding and POP/IMAP." If you don't have IMAP available on your account yet, it won't say IMAP.
    Here's some links to get you started:
    setting up IMAP for gmail on your iPhone:
    https://mail.google.com/support/bin/answer.py?answer=77702
    how actions in your mail app sync to gmail:
    https://mail.google.com/support/bin/answer.py?answer=77657
    I hope this helps out everyone as much as it's helped me. I was a little frustrated before using POP, but gotta love IMAP! I'm not too sure the impact that this has on your battery life, but so far it's working well for me. Enjoy!

    Gmail and IMAP have totally change my tune about the iPhone's email abilities. I was getting frustrated with the inability to reliably get mail (Message has not been downloaded...), sync (have to delete mail from both iPhone and desktop Mac), etc., but now I have all my POP email accounts automatically forward to my Gmail account, and I only check Gmail with the iPhone and MacPro. So far, it's a whole new iPhone experience! No more errors - ALL mail comes through perfectly - and no need to manually sync!
    Note that, when setting up the Gmail/IMAP accounts, do NOT simply update your old POP Gmail settings on your Mac or iPhone! Start with a FRESH new account. I couldn't get either the iPhone or Mac to work until I started with a fresh account.
    Also, I was unable to send mail from the iPhone using the smtp.gmail address, so I had changed the outgoing mail setting to use my regular ISP's smtp address. But, at some point (a few minutes later or a few hours, I don't know) when I checked the Gmail settings on the iPhone, it had magically changed itself to smtp.gmail, with the port number, and it has been working perfectly ever since! Maybe IMAP can atomatically correct this info? Not sure.
    One more thing. Once you have Gmail IMAP working, then you MUST go here:
    http://5thirtyone.com/archives/862
    Follow these directions exactly. This is a necessary set of steps in order to make your iPhone and Mac sync correctly, so that trashed mail on the iPhone will go in the trash on your desktop Mac, etc. It's pretty freaky to check email on the iPhone, and then go to your Mac Mail a few minutes later, and see all the newly trashed (or saved/read) emails perfectly synched up!
    A final note. Once this is all working and synching, remember that if you delete an email on your iPhone, it gets deleted on the desktop Mac Mail as well (and vice-versa)... which is exactly what you want to happen, but I find that I have to remember to keep the mail that I want to save on the iPhone's inbox until I get back to my desktop Mac. Otherwise, I have to manually remove it from the trash to save it!

  • Gmail smtp showing as (offline) on Mail 7.0

    Hi guys,
    I am running Mail 10.7 on OS X 10.9 Maverick, on my iMac 21.5"
    I have gone through all the steps involved in setting up my primary Gmail account on Apple Mail. It was working fine for 1-day, and then on the next day, I could receive messages but could no longer send messages. They just sat in my Outbox and the smtp.gmail.com just showed as offline.
    So I tried setting up the SAME Gmail account on my MacBook – and no problems there, it works fine.
    I have tried a) checking the permissions via the Disk Uility, b) deleting the password from my Keychain Access and c) reinstalling OS X 10.9 – and nothing has helped.
    Is anyone having the same problem, and found a solution?
    Thanks.

    Select Edit SMTP server list from the popup.
    Select your account. Click on the Advanced at and enter your password. Check in Connection Doctor under Window in the Menu bar to see if you get green lights for SMTP setting for the account.
    It's not uncommon to find extra SMTP servers listed. When you remove account, Mail does not delete. You might need to do some clean up.
    Gmail seems to work best in Mavericks is you delete and start clean. See
    Use Gmail with Mavericks Mail

  • Scan to email using gmail as SMTP

    I have an HP Office Jet Pro 8600 N911g printer.  I have this currently setup with the scan to network folder working great.  I would like to set the scan to email.  As the corporate office uses exchange I have to use another service for SMTP.  I setup a Gmail account and puched in the appropriate settings, but the unit fails to connect to gmail.  I've tried multiple ports without success, I've also tried setting up the email server settings, again trying multiple ports without success.  I've tried using every combination using SSL and SMTP authentication, but nothing seems to connect.
    Does gmail actually work, I've seen some say yes, others say no.  Is there another service that would work outside my corporate network or do I need to setup an internal email server, just so I can scan to emails?
    This question was solved.
    View Solution.

    Hi,
    Try following the exact steps below and check if that may help:
    Click the network setting on the printer and locate its IP Address.
    Type that IP  from the browser on your PC to access its EWS page.
    Click the Scan tab.
    Under Scan to E-mail click Outgoing Email Profiles.
    Click New.
    Type your email address and any selected Display name, then click Next.
    Note: be sure to take a note of the specific Display Name.
    Fill the mail settings as following:
    - smtp.gmail.com
    - 465
    - Check the box next to SSL
    - Check the box next to the SMTP Authentication option
    - Type your full gmail address as teh user name and type the gmail password.
    Click Next and dontinue following the steps till teh Summary, then click Save and Test.
    If the Test fails for any connectivity issue continmue following the steps below:
    Click the Network tab.
    Under the active connection type section click IPv4 (Wired / Wireless).
    Keep the IP Address Configuration as exists, under the DNS Address Configuration check the box next to Manual DNS Server.
    Set the Preferred DNS as 8.8.8.8
    Set the Alternate DNS as 8.8.4.4
    Click the Scan tab and click on Outgoing Email Profiles again.
    Click the Test button next to the Display Name configured earlier and check foir any difference.
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • How can i setup my E-Mail Configuration which can map to Gmail SMTP in Oats

    Hi Team,
    I would like to send the reports which i test to some gmail Id's using OATS E-mail Configuration,
    Can you please let me know what are the fields needs to entered
    SMTP Servers :
    When i Searched it says the following are the SMPT server
    smtp.gmail.com
    SSL Port 465
    StartTLS Port 587
    Please let me know which one to enter in the "SMTP Server" text box
    Return Address : Which address do we need to enter in this field
    Thanks and Waiting for your reply,
    Anand.

    I'm facing the same problem, who can help us ? what to enter into fields?

  • GMAIL smtp settings

    can someone please share their SMTP settings for both : psprcs.cfg and psappsrv.cfg
    delete the password and email_username and then pls share the whole section of SMTP settings.
    Here is what im using now:
    *1- psprcs.cfg*
    ====================================================
    [SMTP Settings]
    ;=========================================================================
    ; Settings for SMTP mail
    ; All controls under SMTP Settings can be dynamically changed
    ;=========================================================================
    SMTPServer=smtp.gmail.com
    SMTPPort=465
    SMTPServer1=smtp.gmail.com
    SMTPPort1=465
    [email protected]
    SMTPSourceMachine=localhost
    SMTPCharacterSet=
    SMTPEncodingDLL=
    SMTPTrace=1
    SMTPSendTime=0
    SMTPUseSSL=Y
    SMTPSSLPort=465
    SMTPClientCertAlias=
    SMTPUseSSL1=Y
    SMTPSSLPort1=465
    SMTPClientCertAlias1=
    ;SMTP User Name
    [email protected]
    ;SMTP Password
    SMTPUserPassword=XXXXXX
    ==============================================================
    *2 - psappsrv.cfg*
    [SMTP Settings]
    ;=========================================================================
    ; Settings for SMTP mail
    ; Allow Dynamic Changes under [Domain Settings] has no effect on these controls
    ;=========================================================================
    ; Dynamic change allowed for SMTPServer
    SMTPServer=smtp.gmail.com
    ; Dynamic change allowed for SMTPPort
    SMTPPort=465
    ; Dynamic change allowed for SMTPServer1
    SMTPServer1=smtp.gmail.com
    ; Dynamic change allowed for SMTPPort1
    SMTPPort1=465
    ; Dynamic change allowed for SMTPSender
    [email protected]
    ; Dynamic change allowed for SMTPBlackberryReplyTo
    SMTPBlackberryReplyTo=
    ; Dynamic change allowed for SMTPSourceMachine
    SMTPSourceMachine=localhost
    ; Dynamic change allowed for SMTPCharacterSet
    SMTPCharacterSet=UTF-8
    ; Dynamic change allowed for SMTPEncodingDLL
    SMTPEncodingDLL=
    SMTPGuaranteed=0
    SMTPTrace=1
    SMTPSendTime=0
    SMTPUseSSL=Y
    SMTPSSLPort=465
    SMTPClientCertAlias=
    SMTPUseSSL1=Y
    SMTPSSLPort1=465
    SMTPClientCertAlias1=
    ;SMTP User Name
    [email protected]
    ;SMTP Password
    SMTPUserPassword=XXXXX
    =======================================
    NOTE: the domain "iba-suk.edu.pk" is on google apps so it uses the same smtp/pop as GMAIL.

    Thanks! Very comprehensive and easy to follow guide.
    I followed it.
    But im still unable to get it to work.
    -Email send/rcv is possible to a freeware version of MAIL-ENABLE mail server by peoplesoft. But its not working for gmail.
    -Email send/rcv to gmail (google app) account is also working fine from the server when using it thru Thunderbird email client or Outlook.
    Some possible issues:
    - i used the certificate from GMAIL.com (https://mail.google.com....) ; not Google Accounts ( https://accounts.google.com....)
    - as in image 230.png of your blogpost; my root certificate name was not GeoTrust, it was Equifax Secure CA.
    - i entered the password in all forms; plain, ciphered, ciphered with quotes, ciphered without {V1.1} tag...none worked
    - i used PSCipher from another PS instance running on my desktop- as i do not have access to web-server and its folder on this setup

  • Gmail SMTP

    Hello, I recently switched from using a browser based email on gmail.com, to using the POP server so i could use the mail app. I figured out how to recieve mail, but now i can't seem to send it. I checkout out my smtp settings, and put in the user name and password, but it still doesn't want to send, i keep getting the message saying that the server, smtp.gmail.com on server port 25 timed out. I can't seem to figure it out, if anyone could give me a hand, my technical know how on these things is limited.

    Hello. The server port for Gmail should read 587 and not 25.
    Log on to Gmail. Go to SETTINGS in the top righthand corner.
    Go to FORWARDING & POP
    Click the Button to Enable POP.
    #3 in that same box is "Configure your email client". Right below that line is the hypelink, Configuration instructions.
    It has great directions and is very easy to follow.
    Hope this helps.

Maybe you are looking for