Error sending Email via Gmail

Got a question or comment about PowerChurch that doesn't belong anywhere else? Why not post it here!?

Moderators: Moderators, Tech Support

Post Reply
Miles
Posts: 7
Joined: Wed Mar 25, 2009 10:45 am

Error sending Email via Gmail

Post by Miles »

I have a domain hosted by Google for our email. I have a problem after upgrading to version 11.
Whenever I try to send out a mass email (only to 7 people as a test) I get the following errors:

When TLS is selected (gmail instructs to use TLS - I x'd out the IP address)
5/24/2010 10:42:44 AM <-- [00000042] 220 mx.google.com ESMTP r27sm393704ybc.13
5/24/2010 10:42:44 AM --> [00000032] EHLO MEDIAMINISTRY.xxxx.local
5/24/2010 10:42:44 AM <-- [00000052] 250-mx.google.com at your service, [..xx.]
5/24/2010 10:42:44 AM <-- [00000018] 250-SIZE 35651584
5/24/2010 10:42:44 AM <-- [00000013] 250-8BITMIME
5/24/2010 10:42:44 AM <-- [00000013] 250-STARTTLS
5/24/2010 10:42:44 AM <-- [00000024] 250 ENHANCEDSTATUSCODES
5/24/2010 10:42:44 AM --> [00000010] STARTTLS
5/24/2010 10:42:44 AM <-- [00000029] 220 2.0.0 Ready to start TLS
2.0.0 Ready to start TLS


When TLS is selected and port 465 is specified: (ie. smtp.gmail.com 465):
The requested name is valid, but no data of the requested type was found.

When SSL is selected:
OLE IDispatch exception code 0 from CSMail.SMTPClient.1: Internal Error(T4): (Using Build 21009) ..

I have tried several different settings as you can see. All of them return errors when I try to test the connection. I checked for updates and it stated that I had the most recent update. It seemed to work fine in version 10.4. I am using Windows 7.

Any solutions?
Thanks for your time,
Miles

NeilZ
Posts: 10459
Joined: Wed Oct 08, 2003 1:20 am
Location: Dexter NM
Contact:

Re: Error sending Email via Gmail

Post by NeilZ »

Miles wrote:
When TLS is selected and port 465 is specified: (ie. smtp.gmail.com 465):

Any solutions?
Thanks for your time,
Miles
I noticed that there may be an issue with that SMTP server setup, unless you inadvertently omitted a colon.

The server line should read: smtp.gmail.com:465

On the updates, what does the Powerchurch system info screen say as the date for your program ?? It should be 4/26/10, there were problems with some of the earlier updates not recognizing new MRs.
Neil Zampella

Using PC+ since 1999.

Miles
Posts: 7
Joined: Wed Mar 25, 2009 10:45 am

Re: Error sending Email via Gmail

Post by Miles »

Hi Neil,
Yes, I did do a test with the colon included and received this error.

5/24/2010 12:12:39 PM <-- [00000000]
5/24/2010 12:12:39 PM --> [00000006] QUIT
5/24/2010 12:12:39 PM <-- [00000000]

OLE IDispatch exception code 0 from CSMail.SMTPClient.1: An SMTP or winsock error occured.; No extended error information is available..



Yes, the program date is 04/26/2010.
Thanks!

NeilZ
Posts: 10459
Joined: Wed Oct 08, 2003 1:20 am
Location: Dexter NM
Contact:

Re: Error sending Email via Gmail

Post by NeilZ »

Quick question, can you access the Gmail server with a desktop email program such as Thunderbird or Outlook ??
Neil Zampella

Using PC+ since 1999.

Miles
Posts: 7
Joined: Wed Mar 25, 2009 10:45 am

Re: Error sending Email via Gmail

Post by Miles »

Here is a fix that PC+ Support sent me. It works fine now. Seems to be a common problem in version 11. Glad to know they have a fix.


Hello, Miles,

Thank you for contacting us.

The proper setting for Gmail is SSL. You do not need to specify the port, since 465 is the standard port for SSL.

Some people have experienced this error message (internal error T4) with Version 11, when everything else is set up correctly. We have issued a new installer for the e-mail system files. Please click the link below to download this file. When prompted, save the file to your computer. It is best to save it in the PowerChurch Plus program directory in the "Install" folder, overwriting the original PC11Email.exe file. By default, this location is C:\PowerChurch\PCPLUS11\Install\. When the download is complete, run the PC11Email.exe program to reinstall the necessary e-mail system files.

http://powerchurchsoftware.com/support/pc11email.exe

If you have any further questions, please don't hesitate to contact us again!

Thank you,

PowerChurch Software Technical Support



Thanks Neil for your help on this too,
Miles

Miles
Posts: 7
Joined: Wed Mar 25, 2009 10:45 am

Re: Error sending Email via Gmail

Post by Miles »

Keep in mind, you will have to run this install file on all of the workstations running PC+11, just like netsetup if you are working on a network.

wimkion
Posts: 2
Joined: Wed Sep 29, 2010 7:58 am

Re: Error sending Email via Gmail

Post by wimkion »

may I ask what you has changed?
I'm also using CodeStone and has the same problem in my VB.Net (2008) app.

Internal Error(T4)

thanks for helping me.
Wim

Tracy
Program Development
Program Development
Posts: 463
Joined: Fri Sep 05, 2003 3:08 pm
Location: PowerChurch Software
Contact:

Re: Error sending Email via Gmail

Post by Tracy »

Using SSL on Windows Vista/7 machines would corrupt attachments. And if memory serves, there was an install issue on some 64bit Windows 7 systems, but not all.
Tracy

wimkion
Posts: 2
Joined: Wed Sep 29, 2010 7:58 am

Re: Error sending Email via Gmail

Post by wimkion »

Thnx,

thats an other problem then i have. ... :(

I'm busy Using FoxPro and VB.Net working together...AND both using CSMail....
because VFP can't do multithreading i've to develop a VB.Net part which can handle CSmail.SMTP hangups.

But i keep in mind what your problem was..

thanks

Post Reply