[WebDNA] SendMail
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 100133
interpreted = N
texte = This is a multi-part message in MIME format.------=_NextPart_000_0620_01C8DBA4.72AB2F40Content-Type: text/plain;charset="us-ascii"Content-Transfer-Encoding: 7bitI created a form to email using [sendmail]. It works just fine but thereturns in the code are lost. Is there any reason for this? I thought the[sendmail] did not trash returns? Here is the code: [showif [v.submitEmail]=t] [sendmail to=[lookupdb=dbs/staff.db&value=[v.agent1]&lookInField=agent1&returnField=email¬Found=info]@oldecarriage.com&from=[v.fromEmail]&subject=Listing Inquiry on[v.sku]] From: [v.fromFirst] [v.fromLast]Email: [v.fromEmail]Subject: [v.subject]I need [v.reason]Comments: [v.comments]I need a response [v.response]Phone: [v.phoneArea]-[v.phonePrefix]-[v.phoneSuffix]Contact me: [v.contactTime]I am also: [v.BuyerOrSeller]I plan to buy/sell within: [v.planToSell] [/sendmail] [/showif] The results look like this:From: Michael DeLorenzo Email: test@delorenzo.net Subject: test1 I need Moreinformation about this property. Comments: I love it. Have more photos? Ineed a response in the next 1-2 days Phone: 444-555-5566 Contact me:afternoon I am also: buyer I plan to buy/sell within: I am just looking Basically I receive the email with all of the information spewed on to oneline with no returns in it. Mike ------=_NextPart_000_0620_01C8DBA4.72AB2F40Content-Type: text/html;charset="us-ascii"Content-Transfer-Encoding: quoted-printable
I created a form to email using [sendmail]. It works =justfine but the returns in the code are lost. Is there any reason for this? =Ithought the [sendmail] did not trash =returns?
Here is the code:
[showif =[v.submitEmail]=3Dt]
[sendmail to=3D[lookupdb=3Ddbs/staff.db&value=3D[v.agent1]&lookInField=3Dagent1&ret=urnField=3Demail¬Found=3Dinfo]@oldecarriage.com&from=3D[v.from=Email]&subject=3DListingInquiry on [v.sku]]
From: [v.fromFirst] =[v.fromLast]
Email: [v.fromEmail]
Subject: [v.subject]
I need [v.reason]
Comments: [v.comments]
I need a response =[v.response]
Phone: =[v.phoneArea]-[v.phonePrefix]-[v.phoneSuffix]
Contact me: =[v.contactTime]
I am also: =[v.BuyerOrSeller]
I plan to buy/sell within: =[v.planToSell]
[/sendmail]
[/showif]
The results look like =this:
From: Michael DeLorenzo Email: =test@delorenzo.netSubject: test1 I need More information about this property. Comments: I =love it.Have more photos? I need a response in the next 1-2 days Phone: =444-555-5566Contact me: afternoon I am also: buyer I plan to buy/sell within: I am =justlooking
Basically I receive the email with all of the =informationspewed on to one line with no returns in =it.
Mike
------=_NextPart_000_0620_01C8DBA4.72AB2F40--
Associated Messages, from the most recent to the oldest:
This is a multi-part message in MIME format.------=_NextPart_000_0620_01C8DBA4.72AB2F40Content-Type: text/plain;charset="us-ascii"Content-Transfer-Encoding: 7bitI created a form to email using
[sendmail]. It works just fine but thereturns in the code are lost. Is there any reason for this? I thought the
[sendmail] did not trash returns? Here is the code: [showif [v.submitEmail]=t] [sendmail to=[lookupdb=dbs/staff.db&value=[v.agent1]&lookInField=agent1&returnField=email¬Found=info]@oldecarriage.com&from=[v.fromEmail]&subject=Listing Inquiry on[v.sku]] From: [v.fromFirst] [v.fromLast]Email: [v.fromEmail]Subject: [v.subject]I need [v.reason]Comments: [v.comments]I need a response [v.response]Phone: [v.phoneArea]-[v.phonePrefix]-[v.phoneSuffix]Contact me: [v.contactTime]I am also: [v.BuyerOrSeller]I plan to buy/sell within: [v.planToSell] [/sendmail] [/showif] The results look like this:From: Michael DeLorenzo Email: test@delorenzo.net Subject: test1 I need Moreinformation about this property. Comments: I love it. Have more photos? Ineed a response in the next 1-2 days Phone: 444-555-5566 Contact me:afternoon I am also: buyer I plan to buy/sell within: I am just looking Basically I receive the email with all of the information spewed on to oneline with no returns in it. Mike ------=_NextPart_000_0620_01C8DBA4.72AB2F40Content-Type: text/html;charset="us-ascii"Content-Transfer-Encoding: quoted-printable
I created a form to email using [sendmail]. It works =justfine but the returns in the code are lost. Is there any reason for this? =Ithought the [sendmail] did not trash =returns?
Here is the code:
[showif =[v.submitEmail]=3Dt]
[sendmail to=3D[lookupdb=3Ddbs/staff.db&value=3D[v.agent1]&lookInField=3Dagent1&ret=urnField=3Demail¬Found=3Dinfo]@oldecarriage.com&from=3D[v.from=Email]&subject=3DListingInquiry on [v.sku]]
From: [v.fromFirst] =[v.fromLast]
Email: [v.fromEmail]
Subject: [v.subject]
I need [v.reason]
Comments: [v.comments]
I need a response =[v.response]
Phone: =[v.phoneArea]-[v.phonePrefix]-[v.phoneSuffix]
Contact me: =[v.contactTime]
I am also: =[v.BuyerOrSeller]
I plan to buy/sell within: =[v.planToSell]
[/sendmail]
[/showif]
The results look like =this:
From: Michael DeLorenzo Email: =test@delorenzo.netSubject: test1 I need More information about this property. Comments: I =love it.Have more photos? I need a response in the next 1-2 days Phone: =444-555-5566Contact me: afternoon I am also: buyer I plan to buy/sell within: I am =justlooking
Basically I receive the email with all of the =informationspewed on to one line with no returns in =it.
Mike
------=_NextPart_000_0620_01C8DBA4.72AB2F40--
"Michael A. DeLorenzo"
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:
Nested Loops and SHOWIFs (1997)
[SHOWIF]s and empty arguments (1997)
Stumpted Again (1997)
Shopping carts and reloading pages (1997)
Highlighting words found in a keyword search (2003)
WebCat, switching from NT to OSX (2003)
Registration Form (1998)
Still Stumped on ShowNext...HELP! (1997)
target=_blank and form variables (1997)
[click][/click] (1999)
[AppendFile] problem (WebCat2b13 Mac .acgi) (1997)
Newbie Tax Question (1997)
ListFiles (1998)
shownext problems & formvariables (1998)
Question (1997)
Simple way to create unique SKU (1997)
shipCost (1998)
BUG: Random sort is not random at all..... (2000)
(1997)
Two options to consider (2008)