• 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
************** Exception Text **************

System.ArgumentOutOfRangeException: Length cannot be less than zero.

Parameter name: length

  at System.String.Substring(Int32 startIndex, Int32 length)

  at POP_Goes_the_Gmail.Form1.Login(String sUser, String sPass)

  at POP_Goes_the_Gmail.Form1.btnLogin_Click(Object sender, EventArgs e)

  at System.Windows.Forms.Control.OnClick(EventArgs e)

  at System.Windows.Forms.Button.OnClick(EventArgs e)

  at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

  at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

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

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

  at System.Windows.Forms.Button.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)

Me too. :(

  • 0
Me too. :(

Anyone getting this error, it is most likely a bug in my string manipulation code reading the email messages from the google arrays.

Would you be able to post a screenshot of your gmail mailbox? I'll post 0.2 which will include better error handling on those message arrays to find out what is causing the problem

Jon

  • 0
Anyone getting this error, it is most likely a bug in my string manipulation code reading the email messages from the google arrays.

Would you be able to post a screenshot of your gmail mailbox? I'll post 0.2 which will include better error handling on those message arrays to find out what is causing the problem

Jon

Here's a screen of my mailbox, sorry for taking so long to get you one :)

post-12-1085556917.jpg

  • 0

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
   at System.String.Substring(Int32 startIndex, Int32 length)
   at POP_Goes_the_Gmail.Form1.Login(String sUser, String sPass)
   at POP_Goes_the_Gmail.Form1.btnLogin_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.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.1604.20803
    Win32 Version: 1.0.1604.20803
    CodeBase: file:///C:/Documents%20and%20Settings/Owner/My%20Documents/My%20Stuff/Programs/pgtgm/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
----------------------------------------
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
----------------------------------------
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
----------------------------------------
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/pgtgm/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.

I get this error.

  • 0
i thought the .net framework was included in the windows updates. why complain about downloading it to install this program?

While it .Net is included in the microsoft udpates site, that doesn't mean people actually download and install it. There really is no overarching need for it except that once in a while a small program will require it.

  • 0

V 0.3 IS OUT

This includes unread messages being shown in bold, and a prototype SMTP and POP3 server built into the program. You can test it by connecting to localhost with your email client when the app is running.

This release also addresses my sloppy cookie handling, which was causing the index/length errors.

Thanks to blackice for posting a screenshot, this helped me figure out the problem!

Don't forget to report bugs!

  • 0
Argh, don't hijack this into another damn 'i want a gmail account really bad, but don't wanna pay 20$ for it on ebay' thread

Seriously, its so god damn annoying :pinch: Stop your god damn whining and BUY THE DAMN THING IF YOU WANT IT SO BAD!

*ahem* Back on topic.. Nice program :)

  • 0
V 0.3 IS OUT

This includes unread messages being shown in bold, and a prototype SMTP and POP3 server built into the program. You can test it by connecting to localhost with your email client when the app is running.

This release also addresses my sloppy cookie handling, which was causing the index/length errors.

Thanks to blackice for posting a screenshot, this helped me figure out the problem!

Don't forget to report bugs!

I've got a bug:

When you close the app, it doesn't exit from memory. I find that it still appears in the task manager's processes.

  • 0

OK for the retards that can't read thread titles here we go:

[Alpha]Pop Goes the GMail

Anymore people requesting gmail invites or offering them in this thread well you're pushing your luck and you'll be lucky if i don't ban you :yes:

Love you.

  • 0

'doesn't work' is of absolutley no use whatsoever to me...

and as for 45 meg of ram, thats just the way .NET apps work. they allocate ram in advance. if you are low on ram then it is unallocated.

only uses 18meg on my system, and i have 1gb of ram.

  • 0

The POP checker works a treat here :)

About 18MB of RAM for me too (of 1/2GB).

Oddly, one instance doesn't unload from RAM upon program exit. Re-opening creates another instance (another 18MB) which does unload on exit. Same story with, say, five instances. With no instances running, there's always one left in memory (and only one, no matter how many times it was run simultaneously and/or consecutively). I expect you know about that. Is that so the POP/SMTP server is always running?

You say "V 0.3 IS OUT [...] a prototype SMTP and POP3 server built into the program. You can test it by connecting to localhost with your email client when the app is running", but I 'm getting nowhere with that. I do run a local SMTP server on localhost (not while testing this), so I get the basic idea. But I don't know what settings I'm supposed to use for PGtGM, nor what's supposed to happen. Would you post an idiots guide to that aspect, please? :cry:

POP and SMTP might actually make Gmail useful, so I look forward to that. Meanwhile, as just a basic POP checker, PGtGM is slick and fast (much faster then via a browser) and handy, thanks very much.

You might want to re-think the name ;) ... how about just "Gmailer", or "Gmail Express"?

Milly

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

  • 0

I received this error (screenshot)

Here's the detailed error report:

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: Could not start POP server. There may already be an application using port 110

  at POP_Goes_the_Gmail.clsPopServer.Start()

  at POP_Goes_the_Gmail.frmTray.frmTray_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/John/Desktop/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

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

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.

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

    • No registered users viewing this page.
  • Posts

    • Same Internet Archive seemed to grab the new version https://web.archive.org/web/20...d/Setup_MakeMKV_v1.18.4.exe Here's the link to an additional file it periodically downloads https://web.archive.org/web/20260213092148/https://www.makemkv.com/sdf.bin I think update's keys, etc. To manually trigger this update, put the sdf.bin file in the root of where the program is installed. When you launch the program it will pick up the file and import it. Typically put it here: C:\Program Files (x86)\MakeMKV\sdf.bin
    • Windows 11 KB5094126, KB5093998 bugging out Office apps but it may not be Microsoft's fault by Sayan Sen Microsoft last week released Windows 11 KB5094126 and KB5093998 as the latest Patch Tuesday updates. Following that the company also published the accompanying dynamic updates under KB5094149, KB5095971, and KB5094156. Although the tech giant did not acknowledge any major problems, some users online reported various issues ranging from OneDrive and Dropbox access problems, BitLocker recovery lockouts, to blue screens and BSODs. You can read about them in this dedicated piece. While there is still no confirmation about those problems from Microsoft the company has admitted to another bug which we did not report on. The tech giant has confirmed it has received reports of an issue in which certain third-party applications may be unable to launch Microsoft Office apps or open Office documents after installing the Patch Tuesday. This affects both Windows 11 as well as Windows 10. The company says the problem impacts a subset of applications that rely on OLE (Object Linking and Embedding) automation to communicate with Microsoft Office programs. According to Microsoft, affected scenarios involve third-party software attempting to open Office applications or documents from within their own interface. In such cases, the Office program may fail to launch altogether, or the requested document may not open. Oddly there may not be any error message, which probably makes the issue difficult to diagnose. The bug affects several Office products, including Word, Excel, PowerPoint, Access, and other apps in the Microsoft Office suite when they are launched through the affected software. These include tax and accounting software such as CCH Engagement and Workpaper Manager, dental practice management solutions like Dentrix and Softdent, as well as the popular research and reference management tool Zotero. Microsoft adds that other applications using similar Office integration methods could also experience the same problematic behavior. To understand the issue it is important to look at OLE, the Microsoft technology involved. OLE allows different applications to work together and share data, while its Automation feature lets one program control another. Thus this enables third-party software to launch Microsoft Office apps, open documents, and perform tasks automatically without requiring users to switch between programs. Because many accounting, healthcare, research, and business applications rely on OLE automation to interact with Word, Excel, PowerPoint, and other Office apps, any disruption can break those workflows. As a result, affected software may be unable to open Office documents or launch Office applications even though the programs themselves continue to work normally. At the moment the company has not provided a permanent fix though it has confirmed that engineers are actively working on a resolution, which will be delivered through a future Windows update. As such additional details will be shared once more information becomes available. In the meantime, Microsoft recommends a simple workaround for affected users whic is to open the Office application or document directly rather than launching it through the third-party program. For enterprise customers and organizations managing larger deployments, Microsoft says an additional mitigation is available. Admins experiencing the problem on their managed devices are advised to contact Microsoft Support for business to obtain and apply the workaround.
    • It saddens me when cars are such dull colours now. Mine is bright metallic blue and I absolutely adore it for standing out in contrast to that depressing backdrop of traffic.
    • Sparkle 2.20.0 by Razvan Serea Sparkle is a free, open-source Windows optimization tool designed to make your PC faster, cleaner, and more private. With Sparkle, you can easily debloat Windows by removing unnecessary apps and services, disable Microsoft tracking to enhance privacy, and apply performance tweaks to boost speed. Its cleaner removes junk and temporary files, while every change is safe and fully reversible. Sparkle also features a modern, user-friendly interface with automatic updates, making system maintenance simple. Explore over 39 tweaks, from disabling telemetry and hibernation to optimizing network and game settings, all aimed at customizing and enhancing your Windows experience. Sparkle supports Windows 10 and 11. Sparkle 2.20.0 changelog: Debloat Tweak has animated border New homepage loading UI New Tweak Modal (Markdown Supported) Refactored GPU Detection Added Tests with vitest Added foobar2000 to apps Added Localsend to apps Updated Modal Styles Added styles for disabled inputs Added Animated Border to debloat-windows tweak Bumped dependencies Refactor System info logic for speed Tweak info modals now support Markdown Added Clear System info cache to settings Redesigned Home Page Loading UI Changed Some Icons around the app Download: Sparkle 2.20.0 | Portable | ~100.0 MB (Open Source) Links: Sparkle Website | Github | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • lol it was a typo, fixed! haha imagine an actual 4TB Gen4 NVMe for $40 in 2026
  • Recent Achievements

    • Reacting Well
      Dys Topia earned a badge
      Reacting Well
    • Conversation Starter
      NovaEdgeX earned a badge
      Conversation Starter
    • One Year In
      Console General earned a badge
      One Year In
    • Week One Done
      Twozo Technologies earned a badge
      Week One Done
    • One Month Later
      Twozo Technologies earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      517
    2. 2
      +Edouard
      184
    3. 3
      PsYcHoKiLLa
      106
    4. 4
      Steven P.
      88
    5. 5
      ATLien_0
      68
  • Tell a friend

    Love Neowin? Tell a friend!