SMTPClient->AuthenticationType = atLogin;
SMTPClient->Host = "smtp.gmail.com";
SMTPClient->Password = <PASSWORD>
SMTPClient->Port = 465;
SMTPClient->UserId = "young...@gmail.com";
SMTPClient->Connect();
SMTPClient->Send(EmailMessage);
SMTPClient->Disconnect();
The problem is that the program just hangs on the Connect() line
indefinitely. While hanging, however, I ran netstat and saw that a
connection to the smtp.gmail.com server was made. I tried adding the Send()
command to the OnConnected event handler, and this handler method WAS
executed, but then the program hung AGAIN on the Send() command. When I was
using my previous SMTP server, I did not need the OnConnected handler. The
Connect() method would return after a connection was made, and everything
would follow sequentially.
With your emailreader you can delete the message.
Then change and post again.
Hans.
> With your emailreader you can delete the message.
Users do not have access to delete messages from this newsserver.
Gambit
> I am having some difficulty getting SMTP to work with Gmail.
GMail requires SSL. Did you attach an SSL-enabled IOHandler to TIdSMTP
before connecting?
Gambit
They do. To demonstrate this I just removed the post where
you replied to.
Hans.
Can we cancel our messages though ?
Jonathan
I am guessing this means I'll need Indy 10. I tried installing it at one
point, was it was a total nightmare so I've always tried to get by with Indy
8.
> Can we cancel our messages though ?
That is the same thing as deleting messages, and no, users do not have
access to do that. Only Borland's admins can remove messages from this
server.
Gambit
> I am guessing this means I'll need Indy 10.
Indy 9 also supports SSL.
> I tried installing it at one point, was it was a total nightmare
> so I've always tried to get by with Indy 8.
Indy 8 is a very old version that is no longer supported. You should
seriously consider upgrading to Indy 9 at the least.
Gambit
1) In IDE, go to Component | Install Packages and select the Indy entry in
the Design Packages list and select Remove.
2) Manually search through every single subdirectory of my CBuilder6
directory and remove any and all instances of Indy files.
After having done this, I can start up CBuilder6 with no problems (i.e. no
"can't find indy*.* error) and the Indy entries are removed from the
component palette. Good so far. Now, actually installing Indy 10 is
turning into a pain. First of all, I have downloaded two zip files with
source code. I downloaded a Development Snapshot (indy10.zip) and
indy10.0.52_source.zip. I would prefer installing the latter, since I don't
like messing with possibly buggy dev snapshots. Inside
indy10.0.52_source.zip are the four primary folders, and per the
instructions, I tried to compile System first. The only way I know to do
this is to open BCB, go to File | Open and select IndySystem60.dpk from the
System directory (I was expecting a bpk or bpl file, but there are none).
Once the file is opened, however, I see no option for compiling. For the
heck of it, I tried running the FullC6.bat file from the Dev Snapshot, but I
received an error saying "computil" is an unrecognized command or filename.
This will be the third or fourth time I've tried installing Indy 10, and I
don't want to give up this time. Thanks.
> Manually search through every single subdirectory of
> my CBuilder6 directory and remove any and all instances
> of Indy files.
That is not adequate enough. Please read the Knowledge Base more carefully.
There are files stored elsewhere on the machine that would need to be
removed as well.
> actually installing Indy 10 is turning into a pain.
Indy 10 does not officially support BCB6 at this time.
> I would prefer installing the latter, since I don't like messing
> with possibly buggy dev snapshots.
The latter is a very old build that hasn't been updated in over a year. The
snapshot is the best build to get.
> Inside indy10.0.52_source.zip are the four primary folders, and per
> the instructions, I tried to compile System first. The only way I know
> to do this is to open BCB, go to File | Open and select IndySystem60.dpk
> from the System directory (I was expecting a bpk or bpl file, but there
> are none). Once the file is opened, however, I see no option for
compiling.
BCB cannot compile Delphi packages. You will have to use the command-line
Delphi compiler for that. Or else create new BCB-generated packages and
then move the source code over to them.
Gambit
Oh, ok thank you.
Jonathan
Thanks for the help so far...I've never gotten this far before.
Huh ?
Everybody can delete/cancel his own messages (using a newsreader).
I did already demonstrate that in this thread.
And I am not a Borland admin.
Hans.
Please move to the .test group. I posted a message titled "Can I
delete this?". Then I deleted it and I don't see it anymore. But
can you still read it? Just wondering, I'm not sure I really
deleted it from the server (I'm almost sure I did not).
Steve.
> Please move to the .test group. I posted a message titled "Can I
> delete this?". Then I deleted it and I don't see it anymore. But
> can you still read it? Just wondering, I'm not sure I really
> deleted it from the server (I'm almost sure I did not).
If the original post has contents:
Can I delete this?
Steve.
then it is still there.
As liz confirmed deleting is quite possible for own messages.
Maybe you have to use a real newsreader instead of OE ? <g>
Hans.
>They do. To demonstrate this I just removed the post where
>you replied to.
Please see this (which may wrap)
http://groups.google.com/group/borland.public.cppbuilder.internet.socket/browse_thread/thread/9b5278719412006b/4ef59c95ef883095?lnk=st&q=TIdSMTP+with+gmail&rnum=1#4ef59c95ef883095
Or tiny...
http://tinyurl.com/9l62r
Maybe... but we're still doing some tests. Would you kindly post
and then delete a message in the .test group?
Steve.
If I understood correctly, that's what I'm trying to explain.
They don't see the posts in _their_ newsreader, but they're
still on the server.
Steve.
That is what I thought. I've done it before, only haven't seen the results
because OE kept the message after it was cancelled.
Jonathan
> Please see this (which may wrap)
That is Google's cache.
See here where my message is no more there:
http://newsgroups.borland.com/cgi-bin/dnewsweb?cmd=xover&group=borland.public.cppbuilder.internet.socket&utag=
or
http://tinyurl.com/ckscp
Hans.
>That is Google's cache.
Yep.
Canceling a post doesn't help much if the sensitive data has already
escaped into the wild.
Nope. They're right instead. See .test group.
Steve.
Wild Google. How to empty it's cache ? ;-).
Hans.
As Jeff Overcash (TeamB) in borland.public.test stated you can only
delete your own message if post and cancel come from the same IP.
So you need a fixed IP address or post a cancel message in the
same dialup session.
Apparently the newsserver checks those IP's.
Hans.
Thank you for the confirmation.
Jonathan