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:

Bug? (1997) Math Hell! (2000) [WriteFile] problems (1997) Anyone get webdna to run on apache 2.x on osx? (2006) shoppingcart reload qty (1997) WebCat2b13MacPlugIn - syntax to convert date (1997) no [search] with NT (1997) checkbox results written to a database (1999) Fwd: 502 Bad Gateway (1998) Template Encrypt Speed (1998) Sort Order on a page search (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Problems with [Applescript] (1997) (1997) Username for Admin Group (1997) Date search - yes or no (1997) [WebDNA] Non-numbers entered into a field that asks for a (2008) Possible Hijacking from Globix (2002) XML Woes (2004) [WebDNA] WebDNA and MAMP/Apache (Mac) (2018)