Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 03-02-2008, 01:49 AM
Hadoitz Hadoitz is offline
Junior Member
 
Join Date: Mar 2008
Posts: 4
Default Sending Email Using Gmail Account

Hello,

I need to create an app that can send an email message via gmail account. I've used an IdSMTP and IdMessage component from Indy, but there's an error "Must issue STARTTLS first". What is the problem and what caused this ??? Any help would be welcomed....
Reply With Quote
  #2  
Old 03-02-2008, 02:47 PM
Ouiji Ouiji is offline
Senior Member
 
Join Date: Nov 2001
Location: US of A
Posts: 492
Default RE: Sending Email Using Gmail Account

The "Must issue STARTTLS first" is asking for the encryption string. TLS = Transport Layer Security, meaning the connection must be encrypted. You need to use an email component that supports TLS.

Hope this info helps.

[Link=http://www.ouiji.net/DelphiPages/] [/Link]
[q]"not quite smart enough to be dumb"[/q]
Reply With Quote
  #3  
Old 03-02-2008, 02:58 PM
Ouiji Ouiji is offline
Senior Member
 
Join Date: Nov 2001
Location: US of A
Posts: 492
Default RE: Sending Email Using Gmail Account

Here, these links may help:

https://mail.google.com/support/bin/answer.py?answer=13287

http://www.delphipages.com/threads/thread.cfm?ID=133740&G=133739

http://www.delphipages.com/threads/thread.cfm?ID=130851&G=130848

[Link=http://www.ouiji.net/DelphiPages/] [/Link]
[q]"not quite smart enough to be dumb"[/q]
Reply With Quote
  #4  
Old 03-03-2008, 12:16 AM
Hadoitz Hadoitz is offline
Junior Member
 
Join Date: Mar 2008
Posts: 4
Default RE: Sending Email Using Gmail Account

I've tried using the code from the link you give, but there was another error 'Could not load SSL Library'. Any ideas ??
Reply With Quote
  #5  
Old 03-03-2008, 12:28 AM
Hadoitz Hadoitz is offline
Junior Member
 
Join Date: Mar 2008
Posts: 4
Default RE: Sending Email Using Gmail Account

And I've downloaded the libeay32.dll and ssleay32.dll, but it still give the same error. I used Delphi 7 and Indy 9
Reply With Quote
  #6  
Old 03-03-2008, 03:41 AM
lau73 lau73 is offline
Junior Member
 
Join Date: Feb 2008
Posts: 6
Default RE: Sending Email Using Gmail Account

You need 2 file libeay32.dll and ssleay32.dll in directory application. Have demo work in Delphi 7 with Indy 9 and Indy 10.
Reply With Quote
  #7  
Old 03-04-2008, 12:02 AM
Hadoitz Hadoitz is offline
Junior Member
 
Join Date: Mar 2008
Posts: 4
Default RE: Sending Email Using Gmail Account

I have download it. And I put it on System32 and on my application directory, but it still give me the error 'Could not load SSL library'
Reply With Quote
  #8  
Old 05-09-2008, 05:53 PM
ZarrinPour ZarrinPour is offline
Senior Member
 
Join Date: Jul 2003
Posts: 232
Default RE: Sending Email Using Gmail Account

Hi
Did you solve your problem with "Could not load library" error message? i have the same problem.!!!

Thanks.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 11:56 AM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.