I want to use Hastymail2 for accessing my Gmail.
How can I set it up so that I can do this? Gmail offers IMAP access.
I havnt tested this yet but you should be able to use the settings at this address: http://mail.google.com/support/bin/answer.py?answer=78799 in your .rc file. You could set it as the main imap server or an alternate server.
Also remember to enable imap access in your gmail account settings.
I've been trying to do just that as well, access a gmail account with hastymail. I think I'm real close as I keep getting "Invalid username or password" but I know that what I typed is correct because I can get into gmail just fine.
Anyway, do you think you could post the imap and smtp config variable that you are using?
Thanks!
Make sure your including the @gmail.com to your username. Eg: user@gmail.com.
Here are the settings copied from the link I posted above:
| Incoming Mail (IMAP) Server - requires SSL: | imap.gmail.com Use SSL: Yes Port: 993 |
| Outgoing Mail (SMTP) Server - requires TLS: | smtp.gmail.com (use authentication) Use Authentication: Yes Use STARTTLS: Yes (some clients call this SSL) Port: 465 or 587 |
| Account Name: | your full email address (including @gmail.com) Google Apps users, please enter username@your_domain.com |
| Email Address: | your full Gmail email address (username@gmail.com) Google Apps users, please enter username@your_domain.com |
| Password: | your Gmail password |
I use Gmail's SMTP server for outgoing mail from Hastymail2. Here are the relevant config file settings:
smtp_server = smtp.gmail.com
smtp_port = 587
smtp_tls = false
smtp_starttls = true
smtp_authentication_type = user
With the smtp_authentication_type set to "user" a few new settings become available on the options page in the compose section. One is the "SMTP authentication" setting which should be set to plain. The other two are the authentication username and password which should be set to your gmail login credentials.
I am not using Gmail's IMAP server directly, rather I use fetchmail to pop messages from Gmail to my local IMAP account.
Jason