Re: TCP Connect code for SMTP transaction
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 57625
interpreted = N
texte = Hi,The emailer application in OSX is too primitive, e.g. unless you look in thelog or problem email folder, you don't know if your message bounced.I am experimenting with writing my own, here's what I've got so far-[TCPConnect host=[server]&port=25][TCPSend end=%0D%0A]HELO [hello][UnURL]%0D%0A[/UnURL][/TCPSend][TCPSend end=%0D%0A]MAIL FROM:[from][UnURL]%0D%0A[/UnURL][/TCPSend][TCPSend end=%0D%0A]RCPT TO:[to][UnURL]%0D%0A[/UnURL][/TCPSend][TCPSend end=%0D%0A]DATA[UnURL]%0D%0A[/UnURL][/TCPSend][TCPSend end=%0D%0A]X-Mailer: Ideal TCP ConnectorDate: [date] [time]Subject: [subject]From: [from]To: [to]Content-type: text/plain; charset="US-ASCII"Content-transfer-encoding: 7bit[message][UnURL]%0D%0A[/UnURL][/TCPSend][TCPSend end=%0D%0A][UnURL]%0D%0A.%0D%0A[/UnURL][/TCPSend][TCPSend end=%0D%0A]QUIT[UnURL]%0D%0A[/UnURL][/TCPSend][/TCPConnect]I thought if someone had been down this road already, I could save sometime.Regards,ColinColin Sidwell 01905 797383-------------------------------http://www.idealinternet.co.uk-------------------------------> From: John Peacock
> Reply-To: (WebDNA Talk)> Date: Tue, 04 May 2004 07:09:21 -0400> To: (WebDNA Talk)> Subject: Re: TCP Connect code for SMTP transaction> > Colin Sidwell wrote:>> Has anyone on the list got any WebDNA code for doing a SMTP transaction with>> a mail server?> > [sendmail] is what you want here. SMTP transactions properly require a state> machine to correctly handle the transaction. The client has to wait for> prompts > from the server before proceeding at each step. Tell us what you are trying> to > accomplish rather than how you [think you] want to accomplish it...> > John> > -- > John Peacock> Director of Information Research and Technology> Rowman & Littlefield Publishing Group> 4720 Boston Way> Lanham, MD 20706> 301-459-3366 x.5010> fax 301-429-5747> > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Hi,The emailer application in OSX is too primitive, e.g. unless you look in thelog or problem email folder, you don't know if your message bounced.I am experimenting with writing my own, here's what I've got so far-[TCPConnect host=[server]&port=25][TCPSend end=%0D%0A]HELO [hello][unurl]%0D%0A[/UnURL][/TCPSend][TCPSend end=%0D%0A]MAIL FROM:[from][unurl]%0D%0A[/UnURL][/TCPSend][TCPSend end=%0D%0A]RCPT TO:[to][unurl]%0D%0A[/UnURL][/TCPSend][TCPSend end=%0D%0A]DATA[unurl]%0D%0A[/UnURL][/TCPSend][TCPSend end=%0D%0A]X-Mailer: Ideal TCP ConnectorDate: [date] [time]Subject: [subject]From: [from]To: [to]Content-type: text/plain; charset="US-ASCII"Content-transfer-encoding: 7bit[message][unurl]%0D%0A[/UnURL][/TCPSend][TCPSend end=%0D%0A][unurl]%0D%0A.%0D%0A[/UnURL][/TCPSend][TCPSend end=%0D%0A]QUIT[unurl]%0D%0A[/UnURL][/TCPSend][/TCPConnect]I thought if someone had been down this road already, I could save sometime.Regards,ColinColin Sidwell 01905 797383-------------------------------http://www.idealinternet.co.uk-------------------------------> From: John Peacock > Reply-To: (WebDNA Talk)> Date: Tue, 04 May 2004 07:09:21 -0400> To: (WebDNA Talk)> Subject: Re: TCP Connect code for SMTP transaction> > Colin Sidwell wrote:>> Has anyone on the list got any WebDNA code for doing a SMTP transaction with>> a mail server?> > [sendmail] is what you want here. SMTP transactions properly require a state> machine to correctly handle the transaction. The client has to wait for> prompts > from the server before proceeding at each step. Tell us what you are trying> to > accomplish rather than how you [think you] want to accomplish it...> > John> > -- > John Peacock> Director of Information Research and Technology> Rowman & Littlefield Publishing Group> 4720 Boston Way> Lanham, MD 20706> 301-459-3366 x.5010> fax 301-429-5747> > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Colin Sidwell
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
[WebDNA] Listfields in an input environment (2018)
WebCat b15 Mac plug-in (1997)
Help formatting search results w/ table (1997)
[Listfiles] vs Netfinder (1997)
[WebDNA] lookup in php (2010)
Please help (2004)
Upload and WebCat (1998)
[include ...] behavior (1997)
splitting numbers in webDNA? (1997)
[WebDNA] TLS 1.2 and [tcpconnect] (2018)
F3 crashing server (1997)
Problems with webcat 2.01 for NT (1997)
WCS Newbie question (1997)
Customer - again (1998)
Webcatalog quitting (1997)
Opinion: [input] should be called [output] ... (1997)
Electronic Delivery (1997)
Find one not all, code not working (2003)
Open Market's Transact & Macintosh (1998)
About WebCatalog and iTools 7 (2003)