Re: email database file

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 62123
interpreted = N
texte = This should be all throughout the archives, but here is the code we use. [TEXT]line_ending=[UnURL]%0D%0A[/UnURL][/TEXT] [sendmail to=ron@inkblotmedia.com&from=sales@inkblotmedia.com&subject=Sales Reports&Content-Type=multipart/mixed; boundary="1234abcd"&MIME-version=1.0][!] [/!]--1234abcd Content-Type: text/plain File attached. --1234abcd[!] [/!]Content-Type: text/plain; name="sales.db"[line_ending][!] [/!]Content-Transfer-Encoding: base64[line_ending][!] [/!]Content-Disposition: attachment; filename="sales.db"[line_ending][line_ending][!] [/!][encrypt method=base64&file=sales.db&EMAILFORMAT=T][/encrypt][line_ending][line_ending][!] [/!]--1234abcd-- --1234abcd-- [/sendmail] Ron ----- Original Message ----- From: "paul" To: "WebDNA Talk" Sent: Sunday, June 05, 2005 8:31 AM Subject: Re: email database file > Hi Donavan > > When I hit the page I get the .db file sent to me as text in the email > rather than as an attachment, sorry I did not explain better in the last > emaiul > > What do I specify in the sendmail tag to sent thsiu as a file? > > THanks > Paul > ----- Original Message ----- > From: "Donovan Brooke" > To: "WebDNA Talk" > Sent: Sunday, June 05, 2005 4:08 PM > Subject: Re: email database file > > >> paul wrote: >> > I need to write a trigger to email me the products.db file once a week >> > >> > How would I do thsi and does anyone have an example I can work from >> > >> > Thanks >> > Paul >> >> Hi Paul, >> rather than counting on a trigger to initiate code at a given time, count >> on your code within a page to initiate at a given time. This will enable > you >> to run the trigger in a more frequent routine (about every hour) which > overcomes >> network problems. This is a philosophy about triggers that is often not > realized. >> >> I would do a .db that keeps track of the sent triggers and sets a check > flag >> each week when the code has been enacted. This criteria keeps the second > hours >> trigger from enacting the code again for that new week. >> >> Donovan >> >> >> >> >> >> -- >> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o >> DONOVAN D. BROOKE Euca Design Center >> <-Web Development (specializing in eCommerce), -> >> <- Graphic Design, Custom Tags and Labels -> >> >> ADDRESS:> Donovan Brooke >> DBA Euca Design Center >> 1871 HWY MM >> Fitchburg, WI 53575 >> PH:> 1.608.835.2476 >> Web:> http://www.euca.us >> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o >> >> ------------------------------------------------------------- >> 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: email database file ( "WebDna @ Inkblot Media" 2005)
  2. Re: email database file ( "my eLists" 2005)
  3. Re: email database file ( Gary Krockover 2005)
  4. Re: email database file ( "WebDna @ Inkblot Media" 2005)
  5. Re: email database file ( "paul" 2005)
  6. Re: email database file ( "WebDna @ Inkblot Media" 2005)
  7. Re: email database file ( "paul" 2005)
  8. Re: email database file ( Joe D'Andrea 2005)
  9. Re: email database file ( "paul" 2005)
  10. Re: email database file ( "WebDna @ Inkblot Media" 2005)
  11. Re: email database file ( "paul" 2005)
  12. Re: email database file ( "paul" 2005)
  13. Re: email database file ( Donovan Brooke 2005)
  14. Re: email database file ( "paul" 2005)
This should be all throughout the archives, but here is the code we use. [text]line_ending=[unurl]%0D%0A[/UnURL][/TEXT] [sendmail to=ron@inkblotmedia.com&from=sales@inkblotmedia.com&subject=Sales Reports&Content-Type=multipart/mixed; boundary="1234abcd"&MIME-version=1.0][!] [/!]--1234abcd Content-Type: text/plain File attached. --1234abcd[!] [/!]Content-Type: text/plain; name="sales.db"[line_ending][!] [/!]Content-Transfer-Encoding: base64[line_ending][!] [/!]Content-Disposition: attachment; filename="sales.db"[line_ending][line_ending][!] [/!][encrypt method=base64&file=sales.db&EMAILFORMAT=T][/encrypt][line_ending][line_ending][!] [/!]--1234abcd-- --1234abcd-- [/sendmail] Ron ----- Original Message ----- From: "paul" To: "WebDNA Talk" Sent: Sunday, June 05, 2005 8:31 AM Subject: Re: email database file > Hi Donavan > > When I hit the page I get the .db file sent to me as text in the email > rather than as an attachment, sorry I did not explain better in the last > emaiul > > What do I specify in the sendmail tag to sent thsiu as a file? > > THanks > Paul > ----- Original Message ----- > From: "Donovan Brooke" > To: "WebDNA Talk" > Sent: Sunday, June 05, 2005 4:08 PM > Subject: Re: email database file > > >> paul wrote: >> > I need to write a trigger to email me the products.db file once a week >> > >> > How would I do thsi and does anyone have an example I can work from >> > >> > Thanks >> > Paul >> >> Hi Paul, >> rather than counting on a trigger to initiate code at a given time, count >> on your code within a page to initiate at a given time. This will enable > you >> to run the trigger in a more frequent routine (about every hour) which > overcomes >> network problems. This is a philosophy about triggers that is often not > realized. >> >> I would do a .db that keeps track of the sent triggers and sets a check > flag >> each week when the code has been enacted. This criteria keeps the second > hours >> trigger from enacting the code again for that new week. >> >> Donovan >> >> >> >> >> >> -- >> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o >> DONOVAN D. BROOKE Euca Design Center >> <-Web Development (specializing in eCommerce), -> >> <- Graphic Design, Custom Tags and Labels -> >> >> ADDRESS:> Donovan Brooke >> DBA Euca Design Center >> 1871 HWY MM >> Fitchburg, WI 53575 >> PH:> 1.608.835.2476 >> Web:> http://www.euca.us >> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o >> >> ------------------------------------------------------------- >> 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/ "WebDna @ Inkblot Media"

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:

WebCatalog for guestbook ? (1997) Cancel Subscription (1996) Reversing [ipaddress] normalization (1998) Problems passing [SKU] with $Replace in 2.0 (1997) Email notification to one of multiple vendors ? (1997) WebCatalog2 Feature Feedback (1996) [WebDNA] remove html comments (2009) Determining position (2000) oops private message leaked into talk list (1997) grep question - removing spaces (2005) with Link i need to (1997) WebCat2 - Getting to the browser's username/password data (1997) Adding Message to Order (1997) Show your support (2002) pass a captured value (2004) Execute Applescript (1997) locking variables? (2000) default value from Lookup (was Grant, please help me) (1997) Date problems-more (1997) Still having problems with Authen (1997)