Semd mail using gmail SMTP server (wodSmtp)
Hi,
I am currently evaluating the wodSMTP Active X control.
I tried the example in Delphi exactly as it came and it worked for me.
I then ported it into my own program, and again it worked.
Line of code:
wodSMTP1.SendSimpleAttachment('xxxxx@gmail.com','yyyyy@asl-solutions.co.uk','Test message','This is just a test message','C:MCCDATA' + sRTFFileName);
But when I put in the various properties as specified in previous questions and answers, it failed. This is what came up in the Memo box:
Starting to send
Connecting to the server.
Connecting to: smtp.gmail.com
Negotiating SSL encryption.
Established SSL encryption.
Sending greeting to the server.
Connected to the server.
Connected
Sending MAIL FROM command.
Connected to the server.
Not connected.
DISCONNECTED
Done : 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 24sm7044766eyx.23
Disconnected, will retry.
Connecting to the server.
Connecting to: smtp.gmail.com
Negotiating SSL encryption.
Established SSL encryption.
Sending greeting to the server.
Connected to the server.
Connected
Sending MAIL FROM command.
Connected to the server.
Not connected.
DISCONNECTED
Done : 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 28sm7071280eye.26
Disconnected, will retry.
After that I copied the contents f the box and reset the prog.
Question is How can it work with minimal info but fail when correct info put in?
I use Outlook normally and have Gmail as my default. But the end-user does not use Outlook - only Gmail from within IE
Complete thread:
- Semd mail using gmail SMTP server - JohnW, 2009-06-01, 11:34
- Re: Semd mail using gmail SMTP server - woddrazen, 2009-06-01, 11:41
- Re: Semd mail using gmail SMTP server - JohnW, 2009-06-01, 12:02
- Re: Semd mail using gmail SMTP server - Johnw, 2009-06-01, 20:57
- Re: Semd mail using gmail SMTP server - wodDamir, 2009-06-01, 21:26
- Re: Semd mail using gmail SMTP server - Johnw, 2009-06-01, 20:57
- Re: Semd mail using gmail SMTP server - JohnW, 2009-06-01, 12:02
- Re: Semd mail using gmail SMTP server - woddrazen, 2009-06-01, 11:41