Re: [twsocket] SMTP Component not ready

2008-01-07 Thread Jonathan M. Freedman
Dear List:

I write this code:

smtpCaribou-Host = [EMAIL PROTECTED] ;
smtpCaribou-Port = 25 ;
smtpCaribou-Connect() ;

and get a smtp component not ready error message.

Question...i don't think I need a twsocket connection first or do i?

The server is a timewarner company server.  I am a subscriber.  I want to
send mail directly from a program I have to individual client in my database
without going thru Outlook.  This is the first step I guess.

jf



-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] SMTP Component not ready

2008-01-07 Thread Hoby Smith
I am sure this is not relevant, but just in case... You do realize that you
have the address spelled wrong below?  I imagine it should be smtp, not
smpt?  

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Jonathan M. Freedman
Sent: Monday, January 07, 2008 7:06 PM
To: twsocket@elists.org
Subject: Re: [twsocket] SMTP Component not ready

Dear List:

I write this code:

smtpCaribou-Host = [EMAIL PROTECTED] ;
smtpCaribou-Port = 25 ;
smtpCaribou-Connect() ;

and get a smtp component not ready error message.

Question...i don't think I need a twsocket connection first or do i?

The server is a timewarner company server.  I am a subscriber.  I want to
send mail directly from a program I have to individual client in my database
without going thru Outlook.  This is the first step I guess.

jf



-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be









































































































































































-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] SMTP Component not ready

2008-01-07 Thread DZ-Jay

On Jan 7, 2008, at 20:06, Jonathan M. Freedman wrote:

 smtpCaribou-Host = [EMAIL PROTECTED] ;
 smtpCaribou-Port = 25 ;
 smtpCaribou-Connect() ;

 and get a smtp component not ready error message.

Are you sure you get the error on the Connect() call, or on a 
subsequent method call?  Keep in mind that the SmtpCli component is 
asynchronous, which means that it doesn't wait for the method to 
finish, but returns immediately.  So, you cannot call another method 
right after Connect because the component is not connected yet.  You 
have to use the events provided to call the next method.

dZ.

-- 
DZ-Jay [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] Smtp component not ready

2008-01-06 Thread Wilfried Mestdagh
Hello Jonathan,

I don't understeand the first part of your mail, but the 'smtp component
not ready' is because it is probably already busy with a request. All
functions are async and return immediatly while the component will to
the job in background. So while it is busy yuu cannot do another
request.

---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz

Monday, January 7, 2008, 05:13, Jonathan M. Freedman wrote:

 Dear List:

 Thank you for your previous help.  That, however, did not solve the problem
 entirely.  I entered the DNS address (C0-A8-01-65) which I got from running
 ipconfig...its connection specific suffix is maine.rr.com...

 I kept local address as 0.0.0.0

 I get an error message that says SMTP component not ready after issuing a
 Connect() command.  Where does that come from?

 Thank you in advance,

 jf


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be