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:
Generating Options for a Form. (1997)
RE: Renaming textA (1998)
WebCatalog2 Feature Feedback (1996)
Automated FTP from Shell (2004)
[BULK] [WebDNA] A new commerce system for v7+ (2011)
Deleteing Based On Dates (2002)
[WebDNA] Nginx (2010)
[ShowIf] if the varieable exists (1998)
WebCat2final1 crashes (1997)
Re:Review comparison by PC Magazine: Open for On-line Business (1997)
Extended [ConvertChars] (1997)
PIXO support (1997)
(1997)
possible, WebCat2.0 and checkboxes-restated (1997)
Beta 3.0.3 fix for serial# problem (Mac) (1998)
WebCat2 several catalogs? (1997)
WebCatalog Technical Reference (1997)
Summarising on two fields (1998)
Formulas.db question (2002)
stuck time (1998)