• 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

    • I remember when all games had demos; it was a normal thing, not a limited time promotion.
    • Forza Horizon 6 gets big bug-fixing and balancing update by Taras Buria Today, Playground Games released a big Forza Horizon 6 update with a long list of fixes, patches, and balancing tweaks that the studio promised earlier. Version 375.327 is now available on Steam, Microsoft Store, and Xbox, offering users improvements for AI, audio, design, performance, road discovery, upgrades, visuals, online play, and more. Some of the most notable changes in the Series 2 update include rebalanced drivatars, particularly their difficulty and race start behavior. As such, the game should be more balanced on higher difficulty levels, and AI cars should not shoot out when the race starts as if they have rocket boosters. Speaking of difficulty, developers nerfed Drag Tires physics for a more expected and realistic behavior. They are no longer the go-to option for record-breaking times in road racing, and all leaderboard entries with drag tires will be removed. Completionists will also be glad to get a new feature that lets you see road discovery percentage in each region, which should make discovering all roads easier while keeping it quite challenging and interesting (I spent quite a long time finding the last road). Festival Playlist is also getting some much-needed fixes, including patches for bugs that allowed completing Seasonal Jobs ahead of time or where weekly challenges would not unlock for some players. Developers will retroactively give reward points to all who could not complete all challenges due to these bugs. Other changes include changes to Horizon Play progression so that it is easier to reach Level 100, audio improvements on lower-spec devices, fixes for visual glitches, including pixelated smoke, and more. Developers also addressed the currently non-working Eliminator, an online mode gamers used to farm credits with a Hummer EV exploit. Playground Games plans to re-enable it soon. As a gesture of goodwill, players will get a free McLaren Sabre. Those who used the exploit will not be banned, but developers plan to roll back credits to a maximum of 10M for all who farmed credits using the exploit. You can find the complete changelog for the latest Forza Horizon 6 update here.
    • "Samsung is shutting down yet another app used by millions" I will fix the clickbait title for you, free-of-charge: "Samsung shutting down it's Max VPN app"
    • Microsoft brings Planner Agent to all Microsoft 365 Copilot users by Ivan Jenic Image: Microsoft Microsoft has announced that Planner Agent in Microsoft 365 Copilot is now generally available to all users with a Microsoft 365 Copilot license. Planner Agent is the latest addition in the string of AI features that Microsoft is implementing across virtually all of its products. The agent lets you manage tasks through natural language prompts directly inside Microsoft 365 Copilot. You can create and update tasks, check priorities, and get insights about current entries without leaving the chat interface. The general availability release comes with a handful of new additions on top of what was available during the initial rollout. A new plan picker lets you search and filter your plans by name, then update task names, statuses, due dates, or priorities through the agent. There's also a goals bucket now, which lets you group tasks under specific goals. This builds on the Goals view, a feature that was introduced as part of the broader Planner refresh that rolled out earlier. Image: Microsoft | Planner Agent in Microsoft 365 Copilot All AI-generated plans and tasks are created in draft mode by default, so you can review and approve changes before anything goes through. This is actually a thoughtful safety feature, because trusting AI to handle all your tasks without a human in the loop is usually a recipe for disaster. Having tasks initially saved as drafts is the best possible middle ground. Microsoft also says that not all tasks are executed equally. Simple tasks get processed quickly, while more complex ones, like building a plan from a Word, Excel, or PowerPoint file, are handed to a more capable model. Microsoft says this approach delivers the best performance, but it could also help with usage management, as you won't have to waste tokens on performing simple tasks. Planner Agent is available now across Teams, Loop, SharePoint, and other Microsoft 365 apps for anyone on a Microsoft 365 Copilot subscription.
  • Recent Achievements

    • First Post
      Cosminus earned a badge
      First Post
    • One Year In
      ThatGuyOnline earned a badge
      One Year In
    • 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
  • Popular Contributors

    1. 1
      +primortal
      484
    2. 2
      +Edouard
      189
    3. 3
      PsYcHoKiLLa
      122
    4. 4
      Steven P.
      86
    5. 5
      neufuse
      73
  • Tell a friend

    Love Neowin? Tell a friend!