Re: writefile and emailer

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45942
interpreted = N
texte = When using sendmail we can only send email to customers which we host the sites for. Ie the domainname points to usIf I want to send email to someone lets say to a yahoo.com account sendmail doesn't workI can however writefile to the emailfolder and still send the emailI think the problem is the linebreaksI think I am formatting the code properly with writefile, but still nothing.-----Original Message----- From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of Alain Russell Sent: Tuesday, December 03, 2002 4:47 PM To: WebCatalog Talk Subject: Re: writefile and emailerEmailer probably adds the date - the order is not as important, the suggested order if from RFC specs.I don't understand though - what you are doing is exactly the same as using [sendmail] in a template ?Also - make sure your files are saved with the correct line breaks> Does the order matter? > I looked at some email files generated by sendmail and outlook and the order > was: > To: > Subject: > From: > (there was no date) > > by hard returns I was refering to this little square that shows before the > Subject and From '' > > > -----Original Message----- > From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of > Alain Russell > Sent: Tuesday, December 03, 2002 4:39 PM > To: WebCatalog Talk > Subject: Re: writefile and emailer > > What do you mean 'Relay restrictions' - what you are doing is no different > to using [sendmail] ? > > FYI: You need a blank return after the headers, a date field is also needed > as per RFC specs and the order should be .. > > From: > To: > Subject: > Date: > > > Text > > HTH > Alain > >> >> I am using writefile instead of sendmail because of relay restrictions >> we have set up. >> Here is the writefile code >> But this doesn’t work >> When I open the file which does get written to the emailfolder I can see >> some hard returns and I assume that this is the reason the email is not >> been sent >> Any ideas why this isn’t working >> >> *********code******************** >> [WriteFile >> secure=F&file=../cgi-bin/WebCatalogEngine/EMailFolder/[cart]]to: [pager] >> subject: [subject] >> from: info@prestigesystem.com >> [pagetext] >> [/WriteFile] >> >> >> ------------------------------------------------------------- >> 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/ > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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: writefile and emailer (Michael Davis 2002)
  2. Re: writefile and emailer (Kenneth Grome 2002)
  3. Re: writefile and emailer (Michael Davis 2002)
  4. Re: writefile and emailer (Arturo Vargas 2002)
  5. Re: writefile and emailer (Kenneth Grome 2002)
  6. Re: writefile and emailer (Glenn Busbin 2002)
  7. Re: writefile and emailer (Arturo Vargas 2002)
  8. Re: writefile and emailer (Kenneth Grome 2002)
  9. Re: writefile and emailer (Alain Russell 2002)
  10. Re: writefile and emailer (Arturo Vargas 2002)
  11. Re: writefile and emailer (Alain Russell 2002)
  12. Re: writefile and emailer (Arturo Vargas 2002)
  13. Re: writefile and emailer (Alain Russell 2002)
  14. FW: writefile and emailer (Arturo Vargas 2002)
When using sendmail we can only send email to customers which we host the sites for. Ie the domainname points to usIf I want to send email to someone lets say to a yahoo.com account sendmail doesn't workI can however writefile to the emailfolder and still send the emailI think the problem is the linebreaksI think I am formatting the code properly with writefile, but still nothing.-----Original Message----- From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of Alain Russell Sent: Tuesday, December 03, 2002 4:47 PM To: WebCatalog Talk Subject: Re: writefile and emailerEmailer probably adds the date - the order is not as important, the suggested order if from RFC specs.I don't understand though - what you are doing is exactly the same as using [sendmail] in a template ?Also - make sure your files are saved with the correct line breaks> Does the order matter? > I looked at some email files generated by sendmail and outlook and the order > was: > To: > Subject: > From: > (there was no date) > > by hard returns I was refering to this little square that shows before the > Subject and From '' > > > -----Original Message----- > From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of > Alain Russell > Sent: Tuesday, December 03, 2002 4:39 PM > To: WebCatalog Talk > Subject: Re: writefile and emailer > > What do you mean 'Relay restrictions' - what you are doing is no different > to using [sendmail] ? > > FYI: You need a blank return after the headers, a date field is also needed > as per RFC specs and the order should be .. > > From: > To: > Subject: > Date: > > > Text > > HTH > Alain > >> >> I am using writefile instead of sendmail because of relay restrictions >> we have set up. >> Here is the writefile code >> But this doesn’t work >> When I open the file which does get written to the emailfolder I can see >> some hard returns and I assume that this is the reason the email is not >> been sent >> Any ideas why this isn’t working >> >> *********code******************** >> [WriteFile >> secure=F&file=../cgi-bin/WebCatalogEngine/EMailFolder/[cart]]to: [pager] >> subject: [subject] >> from: info@prestigesystem.com >> [pagetext] >> [/WriteFile] >> >> >> ------------------------------------------------------------- >> 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/ > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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/ Arturo Vargas

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:

WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) wrong input values? (1997) Multiple cart additions (1997) More on the email templates (I like it) (1997) Emailer (WebCat2) (1997) Compressed cookies? (2003) WC2b15 File Corruption (1997) Date Search (2004) Multiple Merchant Accounts? (1997) Nested Loops and SHOWIFs (1997) 2.0 Info (1997) Webcat no longer supported? (2006) Lookup Notfound (1998) Where's Cart Created ? (1997) Multiple 'Users.db' files not possible (1997) Don't tick me off :) [elaspedtime] (1997) Re:[ShowIf] and empty fields (1997) WebCat2 beta 11 - new prefs ... (1997) Quantity * price (1997) command parameters (1998)