RE: [WebDNA] SendMail
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 100149
interpreted = N
texte = Dough! Terry, I do remember running into that. I recalled the fix from yearsago last night in my sleep. OMG, I'm dreaming about WebDNA......it hasstarted again....Thanks for the reply!Mike-----Original Message-----From: Terry Wilson [mailto:terry@terryfic.com] Sent: Tuesday, July 01, 2008 9:50 PMTo: talk@webdna.usSubject: Re: [WebDNA] SendMailYeah, 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:
Dough! Terry, I do remember running into that. I recalled the fix from yearsago last night in my sleep. OMG, I'm dreaming about WebDNA......it hasstarted again....Thanks for the reply!Mike-----Original Message-----From: Terry Wilson [mailto:terry@terryfic.com] Sent: Tuesday, July 01, 2008 9:50 PMTo: talk@webdna.usSubject: Re: [WebDNA] SendMailYeah, 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.
"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:
WebCatalog NT beta 18 problem (1997)
SSL and reg web*L and reg web* (1997)
WebCat for mass emailings (1997)
customer info (2001)
Silly date question (2006)
emailer settings and control questions (1997)
removing commas from a preformatted number (2000)
Ken's Data Manager (was dbQuickView 2.0) (2005)
Associative lookup style? (1997)
Search inside Include (1998)
Summing a field full of numbers ... (1997)
Permission denied? (2004)
date (1999)
[WebDNA] WebDNA development (2017)
What is the default seed for the encrypt context? (2000)
Don't tick me off :) [elaspedtime] (1997)
Opinion: [input] should be called [output] ... (1997)
Webcatalog server support (1997)
nesting limits? (1998)
Add message to Order (1997)