Re: Email Formatting

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 38826
interpreted = N
texte = Hi there,I just went trough the same thing this week. Here we go:This example assumes that you are sending a plaintext and HTML mail in the same time.[sendmail to=[email]&from=[sender]&subject=something&MIME-Version=1.0&Content-Type=mul tipart/alternative; boundary=1234abcd][!][/!] --1234abcd Content-Type: text/plain; charset=iso-8859-1[ConvertChars db=conversionsmail.db] [interpret] ---your code in here or get it with lookup or a search--- [/interpret] [/ConvertChars]--1234abcd Content-Type: text/html; charset=iso-8859-1 EasyWebShop eMail
[ConvertChars db=conversions.db] [interpret] ---your code in here or get it with lookup or a search--- [/interpret] [/ConvertChars]
--1234abcd-- [/sendmail]The conversionsmail.db should contain this:from to %0A These are the hex values (in this email they might be converted again) of the chars.The other conversions.db is the normal one that you use on your sites.Thanks go out to Christer for helping me on this topic the other days.So this is for everybody not wanting to search trough the archives for a long time:-)Nitai On 22.9.2001 7:29 AM, Michael Gribbin wrote:> I'm having a problem that maybe someone can help me with. > > I'm sending information to a client in an email. The information is > first stored in a database and can contain line breaks or paragraph > breaks like this: > > Info1 > > Info2 > > Info3 > > The information is input using a text area: > > > > It is then added to the database with an append: > > [APPEND db=dbInformation.db]Info=[URL][Info][/URL][/APPEND] > > I'm later retrieving it from the database and putting it into an email > with: > > [SENDMAIL To=xxx&From=xxx&Subjext=xxx] > Information: [INPUT][LOOKUP > db=dbInformaiton.db&LookInField=InfoNum&Value=123&ReturnField=Info][/INPUT] > > [/SendMail] > > When I'm using the above on a Mac G4-450/OS 9.1/WebCat 4.0 the email > formats correctly using all email programs: > > Info1 > > Info2 > > Info3 > > When I use the above on a G4-450/OSX/WebCat 4.0 and read it with Outlook > Express 5.0 or 6.0 on a PC it formats like: > > Info1Info2Info3 > > When I read it with Netscape on a PC or Outlook Express on a Mac it > formats correctly. > > Any ideas? > > Thanks in advance, > > Michael Gribbin > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://search.smithmicro.com/-- Tools to energize business Content Management & eBusiness SystemsComputerOil GmbH http://computeroil.com/ Hauptstrasse 12 info@computeroil.com 8252 Schlatt/Switzerland Tel: +41 (0)52 654 15 55 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Email Formatting (Michael Gribbin 2001)
  2. Re: Email Formatting (Nitai @ ComputerOil 2001)
  3. Re: Email Formatting (Michael Gribbin 2001)
  4. Re: Email Formatting (Will Starck 2001)
  5. Re: Email Formatting (Michael Gribbin 2001)
  6. Re: Email Formatting (Nitai @ ComputerOil 2001)
  7. Re: Email Formatting (Michael Gribbin 2001)
  8. Re: Email Formatting (Gary J. Krockover 2001)
  9. Re: Email Formatting (Michael Gribbin 2001)
  10. Re: Email Formatting (Gary J. Krockover 2001)
  11. Email Formatting (Michael Gribbin 2001)
  12. email formatting (Olin Lagon 1999)
  13. Re: Email Formatting and Encryption (Dale LaFountain 1998)
  14. Re: Email Formatting and Encryption (RH Prouty 1998)
  15. Re: Email Formatting and Encryption (PCS Technical Support 1998)
  16. Re: Email Formatting and Encryption (Kenneth Grome 1998)
  17. Re: Email Formatting and Encryption (RH Prouty 1998)
  18. Re: Email Formatting and Encryption (Kenneth Grome 1998)
  19. Re: Email Formatting and Encryption (PCS Technical Support 1998)
  20. Re: Email Formatting and Encryption (Scott Szretter 1998)
  21. Re: Email Formatting and Encryption (Paul Willis 1998)
  22. Re: Email Formatting and Encryption (PCS Technical Support 1998)
  23. Re: Email Formatting (PCS Technical Support 1998)
  24. Re: Email Formatting (Scott Szretter 1998)
  25. Re: Email Formatting (Kenneth Grome 1998)
  26. Re: Email Formatting (Paul Willis 1998)
  27. Email Formatting (Scott Szretter 1998)
  28. Re: Email Formatting (PCS Technical Support 1998)
Hi there,I just went trough the same thing this week. Here we go:This example assumes that you are sending a plaintext and HTML mail in the same time.[sendmail to=[email]&from=[sender]&subject=something&MIME-Version=1.0&Content-Type=mul tipart/alternative; boundary=1234abcd][!][/!] --1234abcd Content-Type: text/plain; charset=iso-8859-1[ConvertChars db=conversionsmail.db] [interpret] ---your code in here or get it with lookup or a search--- [/interpret] [/ConvertChars]--1234abcd Content-Type: text/html; charset=iso-8859-1 EasyWebShop eMail
[ConvertChars db=conversions.db] [interpret] ---your code in here or get it with lookup or a search--- [/interpret] [/ConvertChars]
--1234abcd-- [/sendmail]The conversionsmail.db should contain this:from to %0A These are the hex values (in this email they might be converted again) of the chars.The other conversions.db is the normal one that you use on your sites.Thanks go out to Christer for helping me on this topic the other days.So this is for everybody not wanting to search trough the archives for a long time:-)Nitai On 22.9.2001 7:29 AM, Michael Gribbin wrote:> I'm having a problem that maybe someone can help me with. > > I'm sending information to a client in an email. The information is > first stored in a database and can contain line breaks or paragraph > breaks like this: > > Info1 > > Info2 > > Info3 > > The information is input using a text area: > > > > It is then added to the database with an append: > > [APPEND db=dbInformation.db]Info=[url][Info][/URL][/APPEND] > > I'm later retrieving it from the database and putting it into an email > with: > > [SENDMAIL To=xxx&From=xxx&Subjext=xxx] > Information: [input][LOOKUP > db=dbInformaiton.db&LookInField=InfoNum&Value=123&ReturnField=Info][/INPUT] > > [/SendMail] > > When I'm using the above on a Mac G4-450/OS 9.1/WebCat 4.0 the email > formats correctly using all email programs: > > Info1 > > Info2 > > Info3 > > When I use the above on a G4-450/OSX/WebCat 4.0 and read it with Outlook > Express 5.0 or 6.0 on a PC it formats like: > > Info1Info2Info3 > > When I read it with Netscape on a PC or Outlook Express on a Mac it > formats correctly. > > Any ideas? > > Thanks in advance, > > Michael Gribbin > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://search.smithmicro.com/-- Tools to energize business Content Management & eBusiness SystemsComputerOil GmbH http://computeroil.com/ Hauptstrasse 12 info@computeroil.com 8252 Schlatt/Switzerland Tel: +41 (0)52 654 15 55 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Nitai @ ComputerOil

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:

2 easy questions re: [showif] and [sendmail] (1997) DNA Bandwidth Monitor (2005) Cancel Subscription (1996) What is WebDNA (1997) possible, WebCat2.0 and checkboxes-restated (1997) Server crash (1997) RE: Webcatalog and CyberSTUD (1998) RE: 2nd WebCatalog2 Feature Request (1996) form data submission gets truncated (1997) ErrorMessages.db suggestion (1997) Help name our technology! (1997) OT: Backup Strategies (2007) I can't set the variable (2005) Just made store and move file from webcatalog......... (2000) BUG REPORT: Delete context ignores max parameter (1998) Uniqueness of [cart] (was Number of cars in cart...) (2004) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) Problems with [Applescript] (1997) RE: [WebDNA] [AddFields] Restrictions (2012) Longer .extensions with Windows? (1998)