Re: TCP Connect code for SMTP transaction

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 57626
interpreted = N
texte = Hi, If you use a mail server with a watch folder function your will just need t= o drop in that folder a text file, otherwise you need to use the code you already have below. Nitai On 4/5/04 2:14 PM, "Colin Sidwell" wrote: > Hi, >=20 > 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. >=20 > I am experimenting with writing my own, here's what I've got so far- >=20 > [TCPConnect host=3D[server]&port=3D25] > [TCPSend end=3D%0D%0A]HELO [hello][UnURL]%0D%0A[/UnURL][/TCPSend] > [TCPSend end=3D%0D%0A]MAIL FROM:[from][UnURL]%0D%0A[/UnURL][/TCPSend] > [TCPSend end=3D%0D%0A]RCPT TO:[to][UnURL]%0D%0A[/UnURL][/TCPSend] > [TCPSend end=3D%0D%0A]DATA[UnURL]%0D%0A[/UnURL][/TCPSend] > [TCPSend end=3D%0D%0A]X-Mailer: Ideal TCP Connector > Date: [date] [time] > Subject: [subject] > From: [from] > To: [to] > Content-type: text/plain; charset=3D"US-ASCII" > Content-transfer-encoding: 7bit >=20 > [message][UnURL]%0D%0A[/UnURL][/TCPSend] > [TCPSend end=3D%0D%0A][UnURL]%0D%0A.%0D%0A[/UnURL][/TCPSend] > [TCPSend end=3D%0D%0A]QUIT[UnURL]%0D%0A[/UnURL][/TCPSend] > [/TCPConnect] >=20 > I thought if someone had been down this road already, I could save some > time. >=20 > Regards, >=20 > Colin >=20 > Colin Sidwell 01905 797383 > ------------------------------- > http://www.idealinternet.co.uk > ------------------------------- >=20 >=20 >> 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 >>=20 >> Colin Sidwell wrote: >>> Has anyone on the list got any WebDNA code for doing a SMTP transaction= with >>> a mail server? >>=20 >> [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=20 >> from the server before proceeding at each step. Tell us what you are tr= ying >> to=20 >> accomplish rather than how you [think you] want to accomplish it... >>=20 >> John >>=20 >> --=20 >> 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 >>=20 >> ------------------------------------------------------------- >> 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/ >=20 >=20 > ------------------------------------------------------------- > 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/ >=20 --=20 Tools to energize your business Web Content Management =ABRedakto=BB & eBusiness Systems ComputerOil=AE AG Dammstrasse 7 5400 Baden / Switzerland Telefon +41 (0)844 44 55 66 info@computeroil.com http://computeroil.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, If you use a mail server with a watch folder function your will just need t= o drop in that folder a text file, otherwise you need to use the code you already have below. Nitai On 4/5/04 2:14 PM, "Colin Sidwell" wrote: > Hi, >=20 > 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. >=20 > I am experimenting with writing my own, here's what I've got so far- >=20 > [TCPConnect host=3D[server]&port=3D25] > [TCPSend end=3D%0D%0A]HELO [hello][unurl]%0D%0A[/UnURL][/TCPSend] > [TCPSend end=3D%0D%0A]MAIL FROM:[from][unurl]%0D%0A[/UnURL][/TCPSend] > [TCPSend end=3D%0D%0A]RCPT TO:[to][unurl]%0D%0A[/UnURL][/TCPSend] > [TCPSend end=3D%0D%0A]DATA[unurl]%0D%0A[/UnURL][/TCPSend] > [TCPSend end=3D%0D%0A]X-Mailer: Ideal TCP Connector > Date: [date] [time] > Subject: [subject] > From: [from] > To: [to] > Content-type: text/plain; charset=3D"US-ASCII" > Content-transfer-encoding: 7bit >=20 > [message][unurl]%0D%0A[/UnURL][/TCPSend] > [TCPSend end=3D%0D%0A][unurl]%0D%0A.%0D%0A[/UnURL][/TCPSend] > [TCPSend end=3D%0D%0A]QUIT[unurl]%0D%0A[/UnURL][/TCPSend] > [/TCPConnect] >=20 > I thought if someone had been down this road already, I could save some > time. >=20 > Regards, >=20 > Colin >=20 > Colin Sidwell 01905 797383 > ------------------------------- > http://www.idealinternet.co.uk > ------------------------------- >=20 >=20 >> 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 >>=20 >> Colin Sidwell wrote: >>> Has anyone on the list got any WebDNA code for doing a SMTP transaction= with >>> a mail server? >>=20 >> [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=20 >> from the server before proceeding at each step. Tell us what you are tr= ying >> to=20 >> accomplish rather than how you [think you] want to accomplish it... >>=20 >> John >>=20 >> --=20 >> 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 >>=20 >> ------------------------------------------------------------- >> 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/ >=20 >=20 > ------------------------------------------------------------- > 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/ >=20 --=20 Tools to energize your business Web Content Management =ABRedakto=BB & eBusiness Systems ComputerOil=AE AG Dammstrasse 7 5400 Baden / Switzerland Telefon +41 (0)844 44 55 66 info@computeroil.com http://computeroil.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/ "Nitai @ ComputerOil"

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] Writefile size limit? (2011) Best way to upload file.... (2000) [WebDNA] No more SQL in 7.1? (2012) Problems with shopping cart (1997) [WebDNA] [regex] (2015) Header info in content (1998) Country & Ship-to address & other fields ? (1997) Shipping Help! (1998) quick [middle] Q (2000) WebCat2 - Getting to the browser's username/password data (1997) Hiding HTML and page breaks (1997) WebCat2b15MacPlugin - showing [math] (1997) Problem 2: Prefs file... (1997) [OT] Happy Turkey Day! (2003) Warning: Mac OS X 10.2.4 Update Overwrites Apache's (2003) Kaaaaahhhhhhhnnnnnnn! (1997) Multiple Pulldowns (1997) passing search criteria (1997) NT considerations (1997) [no_cache]?! (2000)