AutoHotkey Community

It is currently May 26th, 2012, 4:59 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: July 15th, 2005, 5:52 pm 
Hi all,

I'm trying to build an email client in ahk. I use blat/getmail for this, however getmail does not support SSL (so no GMail access for example).

Does anyone know of a free/small utility that can?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: July 15th, 2005, 9:45 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5347
Location: UK
Outlook ?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 16th, 2005, 1:00 am 
Offline

Joined: June 26th, 2005, 9:43 pm
Posts: 40
Location: Portugal
I think aMailuhr's ideia was a small program to run background with all the email abilities, so the AHK Script could do the rest [GUI, Buttons, a contact with the user basically] ...

It is [of course] true that Outlook can send mails, but it isn't Freeware, it is big and it haves alot of things that are useless for this situation!

[I am being looking for this for a long time too, I wanted something like the "virus email engine", don't interpret me wrong, I just think it is amazing how small the engine is and how perfect it does it's work]

_________________
Belial


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 17th, 2005, 9:06 pm 
Hmm, after a bit of searching I found stunnel, which can provide the SSL I was looking for.

To be able to use it, you'll need the stunnel.exe (very small), and the OpenSSL libraries (libssl32.dll and libeay32.dll), all in all a 2 MB package :( , but apparently the only way to do this...

You'll need to install the stunnel.exe (as a service) first, you can do this by invoking it with the -install suffix (command line). Now it's installed, but not running (yet)

Gmail example:

create a stunnel.conf file, and fill in the following info:

Code:
# GLOBAL OPTIONS

client = yes
output = stunnel-log.txt
debug = 0
taskbar = no

# SERVICE-LEVEL OPTIONS

[SMTP Gmail]
accept = 127.0.0.1:1099
connect = smtp.gmail.com:465

[POP3 Gmail]
accept = 127.0.0.1:1109
connect = pop.gmail.com:995


Run the following:

Code:
Run, net start stunnel


This will start the stunnel service. Now that it is running, we can use it:

Now the following should work with getmail (receiving e-mails):

Code:
run, getmail -u yourusername -pw yourpassword -s 127.0.0.1 -port 1109


And the following with blat (sending e-mails):

Code:
Run, Blat -install smtp.gmail.com yourusername@gmail.com

Run, Blat - -body "this is a test e-mail" -subject "a test" -to someone@somewhere.com -u yourusername -pw yourpassword -f yourusername -debug -server 127.0.0.1:1099


8)

:!: You need to change your settings in Gmail for this to work:

"Forwarding and POPAccount" section:
1. Enable POP for all mail (even mail that's already been downloaded)
2. When messages are accessed with POP: keep Gmail's copy in the Inbox.

After you downloaded your e-mails with this setup, Gmails settings will have changed (the downloaded e-mails will be flagged for no redownloading). In order to get the same messages again, you'll need to reenter the mentioned settings...

You can adapt stunnels config file to use different setups... stop it first by using net stop stunnel, change the config file and start the service again with net start stunnel...

Useable: gmail.com (1GB POP/SMTP), spymac.com (1GB POP/IMAP/SMTP), bgxmail.net (10GB POP/IMAP), icmail.net (1GB POP/IMAP/SMTP)

Not-useable: hotmail.com/msn.com, yahoo.com (you need to pay for POP/IMAP/SMTP at these free e-mail providers now)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: July 17th, 2005, 10:06 pm 
You can use the following to get info on any new e-mails from Gmail thru their RSS feed:

Code:
urldownloadtofile, https://yourusername:yourpassword@mail.google.com/mail/feed/atom, mails.txt


Am still looking for a way to get POP access to hotmail/msn/yahoo...

There are a couple of free utils for this available, but 'all' they do is simulate a web-login, extract the mails, convert them to a POP 'compatible' format...


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: July 17th, 2005, 10:18 pm 
PS: you don't need to run stunnel as a service if that is undesireable, you can simply start it, then close/kill it if you are done


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 8th, 2005, 10:33 pm 
Offline

Joined: July 20th, 2005, 4:49 am
Posts: 65
aMailuhr wrote:

Am still looking for a way to get POP access to hotmail/msn/yahoo...


Have you tried Hotmail Popper

It's free for me (I must be a valued hotmail user) :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 8th, 2005, 10:48 pm 
Currently supported webmail providers:

Hotmail
mail.com
Yahoo
gmail (Google mail)
indiatimes.com
juno
rediffmail
Gossamer mail
Outlook Web Access (Exchange 5.5)
Outlook Web Access 2003

[url=http://mrpostman.sourceforge.net/[/url][More...][/url]


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 10th, 2005, 11:56 pm 
Thanks much, appreciated! aMailuhr!


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 17th, 2005, 3:28 pm 
aMailuhr wrote:
Useable: gmail.com (1GB POP/SMTP), spymac.com (1GB POP/IMAP/SMTP), bgxmail.net (10GB POP/IMAP), icmail.net (1GB POP/IMAP/SMTP)

Not-useable: hotmail.com/msn.com, yahoo.com (you need to pay for POP/IMAP/SMTP at these free e-mail providers now)

you need to pay for POP3/SMTP at bgxmail.net as well
And as you said before gmail.com only accepty SSL connections to POP3 and SSL.
Currently I can't get a connection to icmail.net

I just test gawab.com.


Report this post
Top
  
Reply with quote  
PostPosted: March 28th, 2008, 4:57 pm 
Offline

Joined: May 14th, 2006, 8:31 pm
Posts: 45
Sweet. I now have stunnel so blat and getmail are working with my gmail account....BUT, for some reason IF I send mail to myself with blat, then getmail fails to retreive it. It says "There are 0 messages on the server."

I know blat sent it because I can see the message I just sent myself in my inbox when I sign in through the gmail website, but getmail does not recognize it or something...

Anyone know how to fix this or what the problem is??


Report this post
Top
 Profile  
Reply with quote  
PostPosted: September 3rd, 2008, 11:54 pm 
I'm using stunnel 4.25. I can access my gmail inbox, but althought there are 100 or so emails theregetmsil can olny see about 250 of them.

Anyone any ideas?

Avi


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 4th, 2008, 12:16 am 
Offline
User avatar

Joined: December 21st, 2007, 3:14 pm
Posts: 3826
Location: Louisville KY USA
Titan wrote:
Outlook ?

even IE
Fire Fox
those are free
opera
i could go on

_________________
No matter what your oppinion Please join this discussion
Formal request to Polyethene
Image


Report this post
Top
 Profile  
Reply with quote  
PostPosted: September 4th, 2008, 3:35 pm 
My previous mail was badly typed & difficult to understand - sorry!

I'm running xp. I'd installed stunnel 4.25 and had set the stunnel conf file as recommended in an earlier email here. I can then run stunnel & can.

After I did this I was able to use getmail to access gmail (I use getmail quite a bit to access other email accounts without problems). The getmail parameters are also set up as in the earlier emails to access my gmail account, but for some strange reason getmail was reporting only 250 emails in my gmail inbox and I cannot get the very latest emails that I've sent to gmail. I have 1000 or so in my gmail account so I can't get to all of these with getmail.

So my Qs are:

I assume it's the stunnel setup that is causing the problem.
Is the stunnel .conf setup ok for stunnel 4.25 or is something else needed? Eg timeouts?

Anyone any ideas what else I can try? What about stunnel debug? Will that help/

Especially for the original emailer who suggested how to use stunnel & get getmail working. Any problems?

Regards Avi


Report this post
Top
  
Reply with quote  
PostPosted: September 10th, 2008, 6:56 pm 
I've posted some emails here saying that getmail doesn't get my most recent emails & thinking it was a stunnel problem - well it wasn't!

Solution is to use recent mode- what's that you say? See gmail help about not downloading all emails.

Use the stunnel conf settings already described here. Then, to get recent mode, put recent: in front of the user name in the getmail line....

eg getmail ....-u recent:jimmy@gmail.com ...

Amazingly this isn't an April 1st joke- it works!

Avi


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Alpha Bravo, Bing [Bot], Exabot [Bot], Google Feedfetcher and 20 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group