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:

Formatting ModDate (2000) PSC recommends what date format yr 2000??? (1997) How can I Add several Items into the cart at once? (1997) PCS Frames (1997) Error 551 in Emailer (2000) Database (2000) HTML encoding in URLs (1997) [format xs] freeze (1997) Members register & gain access system (1998) Download capabilities (1997) combining strings (1997) Merging databases (1997) WebCat2: Found Items syntax, etc. (1997) [WriteFile] problems (1997) [WebDNA] 6.2.1 fails on Apache 2.4.6 (2014) convert characters (2003) [cart] (1998) many-to-one problem (1998) [Sum] function? (1997) Security Issues and WebCommerce Solution (1997)