• 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

    • Samsung Galaxy Z Fold 8, Flip 8, Z Fold Wide: Everything you need to know The ONLY thing I need to know is the price, which I know will be way higher than I (and most people) are willing to pay for a phone... so basically nothing here I need to know. PS: Nice job getting that Apple reference to a non-existent and unrevealed product as "competition" in there. Cheque is in the mail.
    • Well I really think the repasting helped if your higher clocks have returned, maybe the next thing to look at is if there is a problem with your case airflow? I guess this because your 3080 has returned to optimal state, but is still staying too warm, which might suggest it was thermal throttling before you repasted, of which the only logical conclusion could be outside factors.
    • Samsung Galaxy Z Fold 8, Flip 8, Z Fold Wide: Everything you need to know by Hamid Ganji Galaxy Z Fold 7 - Image via Samsung The next generation of Samsung foldables is set to be unveiled next month at the second Unpacked event of the year. Samsung’s 2026 foldables are not expected to offer significant upgrades over their predecessors, with the Korean firm instead focusing on design refinements and conventional upgrades such as faster processors and better cameras. However, Samsung is reportedly planning to unveil an all-new passport-style foldable this year to rival Apple’s first foldable iPhone, which is expected to debut this September. Here’s a roundup of everything we know about Samsung’s upcoming foldable devices ahead of their official debut. When can we expect Samsung’s new foldables? The Galaxy Z Fold 7 and Z Flip 7 series were unveiled in July, and Samsung is expected to maintain this timeframe in 2026. Based on previous reports from Korean sources, Samsung will hold its Unpacked event on July 22 in London, UK, to pull back the curtain on the Galaxy Z Fold 8 series. The devices are also expected to hit the shelves a few weeks after launch. However, Samsung has yet to announce an official date. A new naming scheme? One of the most interesting changes we might see this year is a new naming scheme for Samsung’s latest foldables. SamMobile reported that since Samsung is expected to unveil three foldables this year, it has adopted a new naming strategy to simplify product identification for customers. Accordingly, the standard Galaxy Z Fold 8 will reportedly be called the Galaxy Z Fold 8 Ultra and will serve as the direct successor to last year’s Galaxy Z Fold 7. The “Ultra” suffix suggests the phone could feature higher-end specifications, such as additional rear camera modules. Samsung’s new passport-style foldable is expected to carry the Galaxy Z Fold 8 name without any suffix. This model is reportedly equipped with two rear cameras. No major changes are expected for the Flip model. Galaxy Z Fold 8 Ultra and Z Flip 8 anticipated specs Rumors over the past few months suggest Samsung is preparing several upgrades for its upcoming foldables, although the devices may continue to rely on larger batteries and faster charging speeds rather than dramatic design changes. The primary focus this year is expected to be the Galaxy Z Fold 8 and its wide-screen design. Galaxy Z Fold 8 Ultra official CAD renders - Image via AndroidHeadlines Here are the anticipated specifications for the Galaxy Z Fold 8 Ultra based on previous leaks: 6.5-inch outer display and 8-inch inner display, 120Hz refresh rate, and 2,600 nits peak brightness Snapdragon 8 Elite Gen 5 processor, paired with 12GB or 16GB of RAM and 256GB, 512GB, or 1TB of storage 4.1mm thickness when unfolded and a weight of 210g 200MP main camera, 50MP ultrawide camera, 10MP or 12MP telephoto camera, 10MP cover camera, and 10MP selfie camera 5,000mAh battery with 45W wired charging Android 17 and One UI 9 As for the Galaxy Z Flip 8, the device is not expected to be a major departure from its predecessor, although it could become slightly slimmer. Expected specifications include: Snapdragon 8 Elite Gen 5 or Exynos 2600 processor 12GB of RAM with 256GB and 512GB storage options 6.9-inch Dynamic AMOLED 2X inner dispaly and 4.1-inch Super AMOLED outer dispaly 50MP main camera, 12MP ultrawide camera, and 10MP selfie camera 4,300mAh battery with 25W wired charging Android 17 and One UI 9 Samsung’s foldables are also expected to launch with Gemini Intelligence, Google’s AI suite for automating tasks in Android ecosystem. Moreover, given current memory and component costs, some Galaxy Z Fold 8 Ultra and Z Flip 8 variants could see a price hike. Galaxy Z Fold 8 adopts a wide-screen design The centerpiece of the upcoming Unpacked event could be the Galaxy Z Fold 8, previously rumored as the Galaxy Z Fold Wide. This model adopts a passport-style form factor and is expected to compete directly with Apple’s iPhone Fold. Galaxy Z Fold 8 official CAD renders - Image via AndroidHeadlines Here’s what to expect: 7.6-inch primary OLED display and 5.4-inch cover display, 120Hz refresh rate, 2,600 nits peak brightness, and 4:3 aspect ratio Snapdragon 8 Elite Gen 5 processor, 12GB or 16GB of RAM, and 256GB, 512GB, or 1TB storage options 4,800mAh battery with 45W wired charging 50MP main camera, 50MP ultrawide camera, and 10MP selfie camera Android 17 and One UI 9 The three new foldable phones are unlikely to be the only devices unveiled at Samsung’s Unpacked event. The company is also expected to introduce the Galaxy Watch Ultra 2 and the Galaxy Watch 9 series.
    • Thanks
  • Recent Achievements

    • 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
    • One Month Later
      agatameier earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      504
    2. 2
      +Edouard
      196
    3. 3
      PsYcHoKiLLa
      140
    4. 4
      ATLien_0
      88
    5. 5
      Steven P.
      81
  • Tell a friend

    Love Neowin? Tell a friend!