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:
SOLUTION.... Balancing randomness (2000)
WebCat b13 CGI -shownext- (1997)
Non-Cart Files in Shopping Cart Folder (1997)
Sendmail Question (2001)
Nesting WebDNA in JavaScript (2003)
[searchString] (1997)
redirect with frames (1997)
downloading binary files ussing mime and tcpconnect (2004)
Local redirects ... (2005)
Nesting Search Within Tag? (1997)
SSL and reg web* (1997)
Problems with [Applescript] (1997)
Major Security Hole (1998)
Locking up with WebCatalog... (1997)
Reinstalling (2001)
[WebDNA] autonumber duplication, time stamp issue & locking up (2010)
REDIRECT MULTIPLE RESULTS (2000)
Clear command and ShoppingCart.tmpl (1997)
frames & carts (1997)
Cannot calculate prices (1997)