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 the log 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 Connector Date: [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 some time. Regards, Colin Colin 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:

    
  1. Re: TCP Connect code for SMTP transaction ( John Peacock 2004)
  2. Re: TCP Connect code for SMTP transaction ( Colin Sidwell 2004)
  3. Re: TCP Connect code for SMTP transaction ( John Peacock 2004)
  4. Re: TCP Connect code for SMTP transaction ( Colin Sidwell 2004)
  5. Re: TCP Connect code for SMTP transaction ( Colin Sidwell 2004)
  6. Re: TCP Connect code for SMTP transaction ( Donovan Brooke 2004)
  7. Re: TCP Connect code for SMTP transaction ( John Peacock 2004)
  8. Re: TCP Connect code for SMTP transaction ( "Nitai @ ComputerOil" 2004)
  9. Re: TCP Connect code for SMTP transaction ( Colin Sidwell 2004)
  10. Re: TCP Connect code for SMTP transaction ( John Peacock 2004)
  11. TCP Connect code for SMTP transaction ( Colin Sidwell 2004)
Hi, The emailer application in OSX is too primitive, e.g. unless you look in the log 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 Connector Date: [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 some time. Regards, Colin Colin 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:

Separate SSL Server (1997) Shopping Cart Best Practices (2006) WebCatalog f2 Installation (1997) How to verify email address (1997) WebCat2: Items xx to xx shown, etc. (1997) P1: How to make webcatalog more stable. - LONG (1999) E-Mail (1998) Browser Problem?!? Still getting Error message usingPOST! (1997) shipcost (1997) 2.0 Info (1997) Request for page test (2003) (1997) syntax question, not in online refernce (1997) select multiple 2 more cents (1997) [WebDNA] Encrypt Method SHA256 (2018) [NT] ie 4.0 required (1997) Re: (1997) Semi-OT: PanIP patent infringement case (2001) default value from Lookup (was Grant, please help me) (1997) Introduction/Tutorial/QuickStart (1997)