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