Search the web
Sign In
New User? Sign Up
tmail2000
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
SMTP authorization   Message List  
Reply | Forward Message #758 of 798 |
Re: SMTP authorization

--- In tmail2000@yahoogroups.com, "Andreas" <phryzer@g...> wrote:
> --- In tmail2000@yahoogroups.com, "pepe_pol_barbarian"
> <pepe_pol_barbarian@y...> wrote:
> > Hello!
> > I would like to know how to send an email using TMail2000 component
> > with SMTP authorization.
> > I use demo program and I would like to know how to create smtp
> > authorization in this particular demo program. Is it possible? I can't
> > send an HTML formatted email (text with two pictures in it) because of
> > it(and any other).
> > Please help me with that. Does anyone did it?
> >
> > Ps:In concurent component, INDY SMTP, an authorization is possible,
> > and is very simple - we must only set some component properties. So,
> > how to do that in Mail2000 component?
> >
> > Thanks, best regards
> > Pepe
>
> Hi Pepe,
>
> simply set the Properties 'Username' and 'Password' on the TSMTP2000
> component to the appropriate values and set the property 'Handshaking'
> to 'hsAuto'. Then simply call 'connect'. This will automatically
> perform a login, if the server requires it.
>
> Sample:
>
> smtp: TSMTP2000;
>
> smtp := TSMTP2000.Create;
>
> ... initialize other properties, etc. ...
>
> smtp.Username := 'Pepe';
> smtp.Password := '....';
> smtp.Handshaking := hsAuto;
> smtp.Connect;
>
> Good luck,
>
> Phryzer

Hi Phryzer
Thanks a lot for help! Now, I can login to my server(I had Mail2000 in
old version, so there were not properties of authorization - in
v1.10.3 it is). This is my server response text:
220 ServerSMTP ESMTP
250-ServerSMTP
250-PIPELINING
250-AUTH=LOGIN PLAIN
250-AUTH LOGIN PLAIN
250-STARTTLS
250-SIZE
250-X-RCPTLIMIT 100
250 8BITMIME
334 VXNlcm5hbWU6
235 go ahead

I am logged in...

In the demo program it is writing that i am connected. But, when I try
to send an e-mail it doesn't work - I can see info: "Failed on send"
Why? I did not change anything in source of demo program...
If somebody knows what is going on, please answer me.
Regards, Pepe








Thu Jun 2, 2005 3:57 pm

pepe_pol_bar...
Offline Offline
Send Email Send Email

Forward
Message #758 of 798 |
Expand Messages Author Sort by Date

Hello! I would like to know how to send an email using TMail2000 component with SMTP authorization. I use demo program and I would like to know how to create...
pepe_pol_barbarian
pepe_pol_bar...
Offline Send Email
Jun 2, 2005
11:09 am

... Hi Pepe, simply set the Properties 'Username' and 'Password' on the TSMTP2000 component to the appropriate values and set the property 'Handshaking' to...
Andreas
phryzer
Offline Send Email
Jun 2, 2005
1:13 pm

... Hi Phryzer Thanks a lot for help! Now, I can login to my server(I had Mail2000 in old version, so there were not properties of authorization - in v1.10.3...
pepe_pol_barbarian
pepe_pol_bar...
Offline Send Email
Jun 2, 2005
5:00 pm

... Hi, OK, I can send an email... I have to said that there is an error in demo program. SSoft explore that after adding adresses in Header(Save fields to...
pepe_pol_barbarian
pepe_pol_bar...
Offline Send Email
Jun 2, 2005
10:06 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help