• 0

[Alpha] Pop Goes the GMail


Question

idbuythatforadollar

Pop Goes the GMail

PGtGM has been discontinued. Please use http://www.gnotify.com/gpopper/ instead!

PGtGM sits between you GMail account and your email client, converting messages from the web based mailbox into POP3 messages that a program such as Outlook Express or Firebird can understand.

POP3 server now fully works. You are able to download gmail emails through any email client. SMTP server appears to work.

Please post any bugs you find in the login process to the thread, or problems displaying messages.

Download

Click here v0.9 (120k)

NOTE: You need to have the .net runtimes installed. Click Here

Screenshots:

gmailtray1.jpggmailtray2.jpg

gmailnewmsg.jpg

pgtgmadvanced.gif

Version log:

0.1 Inital test version

0.2 Fixed displaying only first 5 messages bug, added better error handling.

0.3 Better error display for errors when parsing message arrays.

Prototype SMTP and POP3 server built in.

0.4 POP3 server now fully works.

You are able to download gmail emails through any email client

0.5 SMTP works, I hope.

Notifies of new messages with tool tip balloon on tray.

Fixed username not found bug.

Used TripleDES encryption to store password in registry.

Fixed problem with no messages in account

0.6 SMTP server accepts attachments

Added Outlook 2003 support

Fixed login bug

Added Mozilla mail client support

Added generic mail client support with correct error responses

Added email client setup page to about screen

Modified design and layout of main form

0.7 Modified the way PGtGM downloads mails

Added advanced tab with various new options

Added ability to change the POP3 and SMTP ports.

Added option to disable external clients from using PGtGM

Added message menu function to rcvd emails

Fixed incorrect password giving blank messagebox bug

PGtGM starts on the tray by default

Fixed unable to exit Windows bug

Added update checking on startup

0.8 Additons:

Allowed user to change port if it is already in use on startup

SMTP server supports RSET

Added better port-in-use checking interface on startup

Fixed 'contenttype text/plain' SMTP server bug

Added proxy support

XML output of messagelist everytime a check commences

Added confirm exit option

Fixed password incorrect doing nothing bug

Removed shameless advertising on outgoing emails!

Fixed main form not being displayed problem

Fixed constant notification of new messages

0.9 Fixed attachment sending bug (I hope)

Now supports multiple To and CC addresses

Added debug log feature

Moved back to Mentalis.org SSL dll

Tightened up security on SMTP server

Started work on IMAP support (doesn't work yet)

Fixed port not saved/max of 60 bug

Improved error handling

Edited by idbuythatforadollar
Link to post
Share on other sites

Recommended Posts

  • 0
idbuythatforadollar
You are one clever ****** :yes:

Good work (Y)

Edit: just out of interest what language is it written in? VB.NET? C++.NET? C#? I don't know all that much about the .NET platform but it is cool to see someone using it. I have seen very few .NET applications which is sad as it is pretty damn cool :)

VB.NET

I prefer it over VB as its far more stable, rugged and feature packed! runtimes are a pain tho, would be nice if MS invented a program that produced a runtime package specifically for the app, so users didnt need to dl 20mb

Link to post
Share on other sites
  • 0
idbuythatforadollar
I received this error (screenshot)

Here's the detailed error report:

hmm...

First of all, try closing and reopening the application (close completely, from task bar). it could just be a bug that the settings are not saved until the app is restarted.

other than that, make sure you arent running a pop server on the current pc, or have firewall software that is blocking it

Link to post
Share on other sites
  • 0
leedogg

Did I miss the instructions for using this someplace??

Link to post
Share on other sites
  • 0
Danrarbc

Hmmm... I'm getting the no username error.

Where is this info stored? Maybe I can create the registry key or the ini or whatever myself since this doesn't seem to want to.

Edited by Danrarbc641
Link to post
Share on other sites
  • 0
CarLBanks

Still get an error.

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************

System.Net.WebException: Error while looping through arrays of array

at POP_Goes_the_Gmail.clsMailHandler.RefreshMessageList()

at POP_Goes_the_Gmail.clsMailHandler.GetCookies(String sUser, String sPass)

at POP_Goes_the_Gmail.clsMailHandler.Login()

at POP_Goes_the_Gmail.clsMailHandler.RefreshMessageList()

at POP_Goes_the_Gmail.frmEmails.frmEmails_Load(Object sender, EventArgs e)

at System.Windows.Forms.Form.OnLoad(EventArgs e)

at System.Windows.Forms.Form.OnCreateControl()

at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)

at System.Windows.Forms.Control.CreateControl()

at System.Windows.Forms.Control.WmShowWindow(Message& m)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

at System.Windows.Forms.ContainerControl.WndProc(Message& m)

at System.Windows.Forms.Form.WmShowWindow(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)

at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************

mscorlib

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.573

CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll

----------------------------------------

POP Goes the Gmail

Assembly Version: 1.0.1610.32013

Win32 Version: 1.0.1610.32013

CodeBase: file:///C:/Documents%20and%20Settings/Owner/My%20Documents/My%20Stuff/Programs/Gmail%20Pop/POP%20Goes%20the%20Gmail.exe

----------------------------------------

System.Windows.Forms

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.573

CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll

----------------------------------------

System

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.573

CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll

----------------------------------------

Microsoft.VisualBasic

Assembly Version: 7.0.5000.0

Win32 Version: 7.10.3052.4

CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll

----------------------------------------

System.Drawing

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.573

CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll

----------------------------------------

Org.Mentalis.Security

Assembly Version: 1.0.13.701

Win32 Version: 1.0.13.701

CodeBase: file:///C:/Documents%20and%20Settings/Owner/My%20Documents/My%20Stuff/Programs/Gmail%20Pop/Org.Mentalis.Security.DLL

----------------------------------------

System.Xml

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.573

CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll

----------------------------------------

************** JIT Debugging **************

To enable just in time (JIT) debugging, the config file for this

application or machine (machine.config) must have the

jitDebugging value set in the system.windows.forms section.

The application must also be compiled with debugging

enabled.

For example:

<configuration>

<system.windows.forms jitDebugging="true" />

</configuration>

When JIT debugging is enabled, any unhandled exception

will be sent to the JIT debugger registered on the machine

rather than being handled by this dialog.

Link to post
Share on other sites
  • 0
Banzai

I bet you by the final of gmail, they have stopped it from being used as an pop3 server service.

Link to post
Share on other sites
  • 0
idbuythatforadollar
I bet you by the final of gmail, they have stopped it from being used as an pop3 server service.

It would be very hard to do that.

My client uses exactly the same commands as IE, except for a declaring it as 'PGtGM' rather than IE 6

Link to post
Share on other sites
  • 0
DoS
Still get an error.

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************

System.Net.WebException: Error while looping through arrays of array

  at POP_Goes_the_Gmail.clsMailHandler.RefreshMessageList()

  at POP_Goes_the_Gmail.clsMailHandler.GetCookies(String sUser, String sPass)

  at POP_Goes_the_Gmail.clsMailHandler.Login()

  at POP_Goes_the_Gmail.clsMailHandler.RefreshMessageList()

  at POP_Goes_the_Gmail.frmEmails.frmEmails_Load(Object sender, EventArgs e)

  at System.Windows.Forms.Form.OnLoad(EventArgs e)

  at System.Windows.Forms.Form.OnCreateControl()

  at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)

  at System.Windows.Forms.Control.CreateControl()

  at System.Windows.Forms.Control.WmShowWindow(Message& m)

  at System.Windows.Forms.Control.WndProc(Message& m)

  at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

  at System.Windows.Forms.ContainerControl.WndProc(Message& m)

  at System.Windows.Forms.Form...

I get this error too when I have no mails in my inbox

and please, somebody tell me how to make this program make Gmail mails go to Outlook, I have no idea of how to use this program for this cause

Link to post
Share on other sites
  • 0
idbuythatforadollar
I get this error too when I have no mails in my inbox

and please, somebody tell me how to make this program make Gmail mails go to Outlook, I have no idea of how to use this program for this cause

Hi there,

this was a bug caused by having no messages. It's fixed now in 0.5, which is available from the first page.

Link to post
Share on other sites
  • 0
idbuythatforadollar
works 100% now. you rock! :)

cheers :) you know the hours of hard coding put in were worth it when you hear people say that

Link to post
Share on other sites
  • 0
Danrarbc

Works wonderfully now. The username and password are fine now, messages work, it's all good :)

Don't take this the wrong way, but I still hope Google makes the program obsolete with their own IMAP or POP support :p

Link to post
Share on other sites
  • 0
idbuythatforadollar

haha they claim they will, with an 'enterprise' edition. I'm not sure if they will be offerering free POP/SMTP however.

besides, with PGtGM, you get no adverts whatsoever

Link to post
Share on other sites
  • 0
DoS
Hi there,

this was a bug caused by having no messages. It's fixed now in 0.5, which is available from the first page.

thank you for your answer, sorry for my stupid mind, but I still don't know how to use the program to work with outlook, though I love the e-mail warner in the tray!

what do we put in outlook? pop3.gmail.com? or what? it comes from where, to where? how to configure outlook???

Link to post
Share on other sites
  • 0
ackeric

ok two bugs:

1) it only seems to get the first 100 or so emails. I have over 500 e-mails in 3 different accounts, and each one seemed to only grab the first 100 on each account.

2) it works fine with outlook express but i cant seem to get it to work with outlook 2003. when i setup the account and run "test account settings..." it logs in and sends the email and everything seems to work fine. but when i go to receive my email, it logs in and then times out. i have my timeout set to 10 minutes

also, i have it set to check for new mail every 10 minutes, but after a few hours it got to where it was consantly popping up in the system tray telling me that i have new mail.(every 5 seconds or so)

keep up the good work :)

Link to post
Share on other sites
  • 0
Sn1p3t

Awesome! Usually these programs don't pop up until the final version is released :D.

Now my question is, what's the point in wanting a Gmail account if you're just going to download the e-mail to your computer? :p You can get an @MSN e-mail and do the same thing... hmm....

Link to post
Share on other sites
  • 0
idbuythatforadollar
thank you for your answer, sorry for my stupid mind, but I still don't know how to use the program to work with outlook, though I love the e-mail warner in the tray!

what do we put in outlook? pop3.gmail.com? or what? it comes from where, to where? how to configure outlook???

Hi there,

to setup your email client to use the program use the following settings:

POP3 server (incoming mail): localhost

SMTP server (outgoing mail): localhost

username: your gmail username (without the @gmail.com)

password: your gmail password

Jon

Link to post
Share on other sites
  • 0
idbuythatforadollar
ok two bugs:

1) it only seems to get the first 100 or so emails. I have over 500 e-mails in 3 different accounts, and each one seemed to only grab the first 100 on each account.

2) it works fine with outlook express but i cant seem to get it to work with outlook 2003. when i setup the account and run "test account settings..." it logs in and sends the email and everything seems to work fine. but when i go to receive my email, it logs in and then times out. i have my timeout set to 10 minutes

also, i have it set to check for new mail every 10 minutes, but after a few hours it got to where it was consantly popping up in the system tray telling me that i have new mail.(every 5 seconds or so)

keep up the good work :)

1. PGtGM only downloads emails from your main gmail page. i think you can display more than 100 on the main page by changing the settings in the gmail config page. if i did multi page support, checking for new mails would take 5x as long if you had 5 pages of email...

2. i havent got oe 2003, so i'll download a copy later (just for testing!) and fix this bug for 0.6

3. hmm.. i'll look into it

i've built attachment support into smtp so far, so its just the pop3 attachments i need to do, and i'll get the new ver out.

Link to post
Share on other sites
  • 0
DoS
Hi there,

to setup your email client to use the program use the following settings:

POP3 server (incoming mail): localhost

SMTP server (outgoing mail): localhost

username: your gmail username (without the @gmail.com)

password: your gmail password

Jon

Thank you VERY MUCH!!!!!! now it really works, it is amazing!!! perfectly amazing, no more errors, no bugs (that I've seen). you really disearves some congratulations, as you made a wish of so many people come true. I hope you make an official website for it, as I'll probably be visiting it everyday to see if there are any news.

congratulations :happy:

just a little problem, I can't send e-mails. outlook shows that little green icon saying that is sending, and it says "Disconecting..." then the error message appears (not exactly like this, cause I'm brazilian, and it is translated)

The time was depleted during the communication with the server. Subject 'test', Account: 'localhost', Server: 'localhost', Protocol: SMTP, Port: 25, Safe (SSL): No, Error number: 0x800CCC19

and I didn't see when that that "Sending message" XP ballon apeears. it just appears to say when messages arive.

Edited by DoS
Link to post
Share on other sites
  • 0
zachman123

I'm interested in the source code (for getting the messages from gmail, not the pop part).

I usually code in c# but vb is easy enough for any programmer to understand :D so unless you don't want to give source, I would appreciate at least learning the method you used to get the messages.

Thanx, and keep up the great work!

Link to post
Share on other sites
  • 0
DoS

this happened and the program told me to send it to you :p

this is appearing a lot to me, sometimes it doesn't, but from the nowhere, this happens suddenly when I click "Chek mail"

post-12-1086044004.jpg

Edited by DoS
Link to post
Share on other sites
  • 0
DoS
Thank you VERY MUCH!!!!!! now it really works, it is amazing!!! perfectly amazing, no more errors, no bugs (that I've seen). you really disearves some congratulations, as you made a wish of so many people come true. I hope you make an official website for it, as I'll probably be visiting it everyday to see if there are any news.

congratulations :happy:

just a little problem, I can't send e-mails. outlook shows that little green icon saying that is sending, and it says "Disconecting..." then the error message appears (not exactly like this, cause I'm brazilian, and it is translated)

and I didn't see when that that "Sending message" XP ballon apeears. it just appears to say when messages arive.

this part in red, I figured out it was Norton bloking it. but I disabled Norton e-mail cheking to sent messages, and now is ok

Link to post
Share on other sites
  • 0
idbuythatforadollar
this happened and the program told me to send it to you :p

this is appearing a lot to me, sometimes it doesn't, but from the nowhere, this happens suddenly when I click "Chek mail"

yeh, looks like this could be a google bug.

im not absolutley sure tho

Link to post
Share on other sites
  • 0
xxdesmus

great little program...

<-- now me needs a gmail account ...lol :cry:

Link to post
Share on other sites
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.