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 hostthe sites for. Ie the domainname points to usIf I want to send email to someone lets say to a yahoo.com accountsendmail 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 stillnothing.-----Original Message-----From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On BehalfOf Alain RussellSent: Tuesday, December 03, 2002 4:47 PMTo: WebCatalog TalkSubject: Re: writefile and emailerEmailer probably adds the date - the order is not as important, thesuggested order if from RFC specs.I don't understand though - what you are doing is exactly the same asusing[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 theorder> was: > To:> Subject:> From:> (there was no date)> > by hard returns I was refering to this little square that shows beforethe> Subject and From ''> > > -----Original Message-----> From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com] OnBehalf 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 nodifferent> to using [sendmail] ?> > FYI: You need a blank return after the headers, a date field is alsoneeded> 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 relayrestrictions>> 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 cansee>> some hard returns and I assume that this is the reason the email isnot>> 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 toWeb 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:
When using sendmail we can only send email to customers which we hostthe sites for. Ie the domainname points to usIf I want to send email to someone lets say to a yahoo.com accountsendmail 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 stillnothing.-----Original Message-----From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On BehalfOf Alain RussellSent: Tuesday, December 03, 2002 4:47 PMTo: WebCatalog TalkSubject: Re: writefile and emailerEmailer probably adds the date - the order is not as important, thesuggested order if from RFC specs.I don't understand though - what you are doing is exactly the same asusing[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 theorder> was: > To:> Subject:> From:> (there was no date)> > by hard returns I was refering to this little square that shows beforethe> Subject and From ''> > > -----Original Message-----> From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com] OnBehalf 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 nodifferent> to using [sendmail] ?> > FYI: You need a blank return after the headers, a date field is alsoneeded> 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 relayrestrictions>> 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 cansee>> some hard returns and I assume that this is the reason the email isnot>> 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 toWeb 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)