Re: A little help on e-mail (HELP!!! :-) )

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 18896
interpreted = N
texte = This is not working...>I don't quite understand your exact question. Are you asking how to send>an email to an email-account that is stored in a field in a database? If>so, the following grabs the [e-mail] field from a database and inserts it>into the to part of a [SendMail]. The [FoundItems] loops thru all the>records that match a search request, so it will send lots of emails if your>search finds lots of records.>>[FoundItems]>[SendMail to=[e-mail]]>[/SendMail]>[/FoundItems] I will include the code from each of the pages, (reduced),(I am using the store base for this) Invoice page:<
<<<<<<<[lineItems]<<<<<<<
<SKU: [SKU]<<<E-MAIL: [E-MAIL]<<
[/lineItems]<
<<Please enter the following information,<
so we may process your request.<
<
<
<< < <<< < <<<
Name:<<<
Email:<<<
< listingThankYou.tpl: [include file=Header.inc][include listingFulfillment.txt][showif [email]!][include file=listingThankYou.txt&v.email=[email][/showif] As soon as we recieve your list we will contact you by phone and at the e-mail address you entered. <
Thank You!<
<<<<<<<<<<
Name<[name]<
Email<[email]<
listingFulfillment.txt [SendMail to=jv1@ee.net&subject=I Just Submited a Listing Request!&from=[v.email]] Name: [name]Address: [address1] City: [city] State: [state] Zip: [zip]Country: [country] Phone: [phone] Fax: [fax]-----------------------------------------------------------------[lineItems][SKU] [E-MAIL][format 40s] [/format][/lineItems]-----------------------------------------------------------------[/SendMail] endI do not know how to explaing this any better, but:I would like: [SendMail to=jv1@ee.net&subject=I Just Submited a Listing Request!&from=[v.email]] to be [E-MAIL] (which is a FIELD in my D-Base....) Thanks Jim Mail to: jv1@ee.netVisit my Page: http://www.web-maya.com Life IS what You Make it, so Make It GREAT!In your pondering of life, remember:1) Life is what happens, while you are making plans!2) Life is what happens as we walk through eternity!3) We are all one. Associated Messages, from the most recent to the oldest:

    
  1. Re: A little help on e-mail (HELP!!! :-) ) (PCS Technical Support 1998)
  2. Re: A little help on e-mail (HELP!!! :-) ) (Terry Wilson 1998)
  3. Re: A little help on e-mail (HELP!!! :-) ) (Sandra L. Pitner 1998)
  4. Re: A little help on e-mail (HELP!!! :-) ) (Jim V 1998)
  5. Re: A little help on e-mail (HELP!!! :-) ) (Kenneth Grome 1998)
  6. Re: A little help on e-mail (HELP!!! :-) ) (PCS Technical Support 1998)
  7. Re: A little help on e-mail (HELP!!! :-) ) (Jim V 1998)
  8. Re: A little help on e-mail (HELP!!! :-) ) (PCS Technical Support 1998)
  9. Re: A little help on e-mail (HELP!!! :-) ) (Jim V 1998)
  10. Re: A little help on e-mail (HELP!!! :-) ) (Jim V 1998)
  11. Re: A little help on e-mail (HELP!!! :-) ) (PCS Technical Support 1998)
  12. Re: A little help on e-mail (HELP!!! :-) ) (Kenneth Grome 1998)
  13. A little help on e-mail (HELP!!! :-) ) (Jim V 1998)
This is not working...>I don't quite understand your exact question. Are you asking how to send>an email to an email-account that is stored in a field in a database? If>so, the following grabs the [e-mail] field from a database and inserts it>into the to part of a [sendmail]. The [founditems] loops thru all the>records that match a search request, so it will send lots of emails if your>search finds lots of records.>>[founditems]>[SendMail to=[e-mail]]>[/SendMail]>[/FoundItems] I will include the code from each of the pages, (reduced),(I am using the store base for this) Invoice page:<<<<[username]><[password]><[cart]><<[lineitems]<<<<<<<
<SKU: [SKU]<<<E-MAIL: [E-MAIL]<<
[/lineItems]<
<<Please enter the following information,<
so we may process your request.<
<
<
<< < <<< < <<<
Name:<<<
Email:<<<
< listingThankYou.tpl: [include file=Header.inc][include listingFulfillment.txt][showif [email]!][include file=listingThankYou.txt&v.email=[email][/showif] As soon as we recieve your list we will contact you by phone and at the e-mail address you entered. <
Thank You!<
<<<<<<<<<<
Name<[name]<
Email<[email]<
listingFulfillment.txt [SendMail to=jv1@ee.net&subject=I Just Submited a Listing Request!&from=[v.email]] Name: [name]Address: [address1] City: [city] State: [state] Zip: [zip]Country: [country] Phone: [phone] Fax: [fax]-----------------------------------------------------------------[lineitems][SKU] [E-MAIL][format 40s] [/format][/lineItems]-----------------------------------------------------------------[/SendMail] endI do not know how to explaing this any better, but:I would like: [SendMail to=jv1@ee.net&subject=I Just Submited a Listing Request!&from=[v.email]] to be [E-MAIL] (which is a FIELD in my D-Base....) Thanks Jim Mail to: jv1@ee.netVisit my Page: http://www.web-maya.com Life IS what You Make it, so Make It GREAT!In your pondering of life, remember:1) Life is what happens, while you are making plans!2) Life is what happens as we walk through eternity!3) We are all one.
Jim V

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:

Cant open pages generated by Webcat (2004) more info on [setlineitems] (1997) Olin (1998) NT Version on IIS 4.0 (1997) if else problem :- Version1 (2003) View order not right (1997) RE: Jimmy Houssen (1998) PCS Frames (1997) WebCat2 several catalogs? (1997) exclamation mark... (1999) log out (2001) Text variables do not show (1999) DNS Lookup 2 (2000) WebCat2b13MacPlugin - nested [xxx] contexts (1997) CSS and SSI books (2004) Configuring E-mail (1997) method of payment (1997) problem with NT beta (1997) Logout? (1998) WebCatb15 Mac CGI -- [purchase] (1997)