Re: [WebDNA] SendMail
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 100138
interpreted = N
texte = Yeah, I went through that. It wasn't until I started using an OSX server that it reared its ugly head. But the fix is easy. In your text editor, make sure your preferences are set to format the returns as Unix returns. I use BBEdit, and there's a setting for this under "Text Files: Saving". For Default Line Breaks, choose Unix. Resave the page and it should be fine.TerryI created a form to email using [sendmail]. It works just fine but the returns 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=[lookup db=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 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-5566 Contact me: afternoon I am also: buyer I plan to buy/sell within: I am just lookingBasically I receive the email with all of the information spewed on to one line with no returns in it.Mike-- Terry Wilson | terry@terryfic.com | http://terryfic.comhttp://WhosComing.com - a simplified, affordable online reservation systemhttp://TightJacket.com -- stylish protection for your laptop--------------------------------------------------------------------------Attitude is the only difference between ordeal and adventure.
Associated Messages, from the most recent to the oldest:
Yeah, I went through that. It wasn't until I started using an OSX server that it reared its ugly head. But the fix is easy. In your text editor, make sure your preferences are set to format the returns as Unix returns. I use BBEdit, and there's a setting for this under "Text Files: Saving". For Default Line Breaks, choose Unix. Resave the page and it should be fine.TerryI created a form to email using
[sendmail]. It works just fine but the returns 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=[lookup db=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 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-5566 Contact me: afternoon I am also: buyer I plan to buy/sell within: I am just lookingBasically I receive the email with all of the information spewed on to one line with no returns in it.Mike-- Terry Wilson | terry@terryfic.com | http://terryfic.comhttp://WhosComing.com - a simplified, affordable online reservation systemhttp://TightJacket.com -- stylish protection for your laptop--------------------------------------------------------------------------Attitude is the only difference between ordeal and adventure.
Terry Wilson
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:
b12 cannot limit records returned and more. (1997)
Progress !! WAS: Trouble with formula.db (1997)
Need help... (1997)
searchable list archive (1997)
Error handling for accountNum (1997)
HELP! Search finding too much! (1998)
shipcost (1997)
upgrading (1997)
How To question on setting up downloads (1997)
authenticate broken when url not fully specified? (2000)
WebCat2b12 - nesting [tags] (1997)
Encypt Question - Making New Users.db (1999)
Text data with spaces in them... (1997)
[OT] Am I an Idiot? (2004)
Accented chars and emailer (1998)
WebCat & WebTen (1997)
WebCat2 - Getting to the browser's username/password data (1997)
[movefile] create stationery files (1998)
Showif, Hideif reverse logic ? (1997)
RAM variables (1997)