• 0

[Alpha] Pop Goes the GMail


Question

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 comment
https://www.neowin.net/forum/topic/169789-alpha-pop-goes-the-gmail/
Share on other sites

Recommended Posts

  • 0
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

  • 0
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

  • 0

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.

  • 0
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

  • 0
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

  • 0
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.

  • 0
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???

  • 0

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 :)

  • 0

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....

  • 0
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

  • 0
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.

  • 0
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
  • 0

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!

  • 0
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

  • 0
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

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Hello, Christian Maas' XVI32 is a nice (and very small) hex editor. Speaking of hex editors, many years ago a colleague and I who both worked at Tribal Voice managed to edit a copy of the company's PowWow instant messaging client to make it behave better now that all of its lookup servers and other server-side tech was gone.  The program didn't support NAT (RFC-3022 was introduced in January 2001, the same time Tribal Voice was shuttered), but it still worked okay if you manually set up port-forwarding on your router.  The server at http://powwow.jazy.net/ hosts a copy (usual warnings about downloading and running untrusted code from random internet servers apply). I occasionally use some tools like Funduc Software's Search and Replace and Application Mover when I need to make mass-edits to text-based files or move programs with a hard-coded installation directories, respectively.  When I need to figure out the exact LCD panel inside of a laptop, EnTech Taiwan's Monitor Asset Manager is my go-to tool for that purpose. JD Design's website (now hosted on github.io) has a number of interesting freeware and shareware utilities.  I used to use their TouchPro utility to set the file timestamps on software I was mastering to match its version number (e.g., version 3.00 of a program had all of its files dates set to 3:00AM, and so forth). Karenware has a number of interesting freeware utilities, too. Regards, Aryeh Goretsky  
    • I still use HexChat! Not really as ancient as the 1994 AutoCAD above my post, but I have never found anything better to replace it. Yes we still operate an IRC server https://www.neowin.net/irc/ 😛 
    • At work we still have a couple of people that use a version of AutoCAD LT purchased in 1994. This predates Windows 95 and works fine on versions of Windows up to XP. Its long since run in an locked down isolated XP VM, accessible via RDP. I did install LibreCAD for them, however they said it was just too different to get to grips with. In all fairness one of them is now 75 and the other is almost 60.
    • On my music making (non internet) PC Sony Acid Pro 7.0 Adobe Audition 2015 Korg Legacy Collection Windows 7 SP1
    • Anyway to download these versions without being on the Experimental builds?
  • Recent Achievements

    • Week One Done
      Jeroen Wilms earned a badge
      Week One Done
    • Week One Done
      rolfus earned a badge
      Week One Done
    • One Month Later
      Leroy Jethro Gibbs earned a badge
      One Month Later
    • Conversation Starter
      flexorcist earned a badge
      Conversation Starter
    • One Month Later
      AndreaB earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      509
    2. 2
      +Edouard
      198
    3. 3
      PsYcHoKiLLa
      138
    4. 4
      ATLien_0
      90
    5. 5
      Steven P.
      82
  • Tell a friend

    Love Neowin? Tell a friend!