Re: Formatting Email

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 27033
interpreted = N
texte = The format context in webdna along with sendmail is worth checking out. I used the code like below to send emails to as/400 machine that required exact formatting[!]Do the header [/!][format 17s]I[/format][!] [/!][format 06.f0s][custID][/format][!] [/!][format 29s][jobName][/format][!] [/!][format 21s][custPO][/format][!] [/!][Lineitems] [format 5s][/format][!]Pos 1-5 Blank [/!][format 6s][sku][/format][!]Pos 6-11 Item Number [/!][format [hideif [sku]=799996]06.0f[/hideif][showif [sku]=799996]6s[/showif]][hideif [sku]=799996][quantity][/hideif][/format][!]Pos 12-18 Quantity [/!][format 3s][hideif [sku]=799996]EA[/hideif][/format][!]Pos 19-21 Unit of measure (We can use EA) [/!][format 29s][hideif [sku]=799996][textA] [/hideif][lookup db=mueller.db&lookinfield=sku&value=[sku]&returnfield=friendly_name][showif [sku]=799996][texte][/showif][/format][!]Pos 22-51 Description [/!][format [hideif [sku]=799996]13.0f[/hideif][showif [sku]=799996]13s[/showif]][hideif [sku]=799996][math]100*[quantity]*[price][/math][/hideif][/format][!]Pos 52-65 Price with decimal assumed (195 = $1.95) [/!][format 6s] [/format][!]Pos 66-72 Blank [/!][format 3s][hideif [sku]=799996]400[/hideif][/format][!]Pos 73-75 400 (This flags the E-mail to say it is from us) [/!][/lineitems]-----Original Message----- From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Michael A. Rosen Sent: Friday, February 04, 2000 7:28 AM To: WebCatalog Talk Subject: Formatting Email I need to send invoices by email but the description field can have up to 250 characters. Does anyone have a technique for formatting email like the following?:Date Description Hours Rate Total ---- ----------------------- ----- ------- ------- 2/3/00 Here is a bunch of text 2 1000.00 2000.00 that is to long for a single line.2/5/00 If someone would pay me 2 1000.00 2000.00 this rate I would only have to work 1/2 day per monthMichael A Rosen miker@linqdesigns.com------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Associated Messages, from the most recent to the oldest:

    
  1. Re: Formatting Email (Nicolas Verhaeghe 2000)
  2. Re: Formatting Email (jpeacock@univpress.com 2000)
  3. Re: Formatting Email (The Mooseman 2000)
  4. Formatting Email (Michael A. Rosen 2000)
  5. Re: Formatting Email (Sam Polk 2000)
  6. Re: Formatting Email (Sam Polk 2000)
The format context in webdna along with sendmail is worth checking out. I used the code like below to send emails to as/400 machine that required exact formatting[!]Do the header [/!][format 17s]I[/format][!] [/!][format 06.f0s][custID][/format][!] [/!][format 29s][jobName][/format][!] [/!][format 21s][custPO][/format][!] [/!][lineitems] [format 5s][/format][!]Pos 1-5 Blank [/!][format 6s][sku][/format][!]Pos 6-11 Item Number [/!][format [hideif [sku]=799996]06.0f[/hideif][showif [sku]=799996]6s[/showif]][hideif [sku]=799996][quantity][/hideif][/format][!]Pos 12-18 Quantity [/!][format 3s][hideif [sku]=799996]EA[/hideif][/format][!]Pos 19-21 Unit of measure (We can use EA) [/!][format 29s][hideif [sku]=799996][textA] [/hideif][lookup db=mueller.db&lookinfield=sku&value=[sku]&returnfield=friendly_name][showif [sku]=799996][texte][/showif][/format][!]Pos 22-51 Description [/!][format [hideif [sku]=799996]13.0f[/hideif][showif [sku]=799996]13s[/showif]][hideif [sku]=799996][math]100*[quantity]*[price][/math][/hideif][/format][!]Pos 52-65 Price with decimal assumed (195 = $1.95) [/!][format 6s] [/format][!]Pos 66-72 Blank [/!][format 3s][hideif [sku]=799996]400[/hideif][/format][!]Pos 73-75 400 (This flags the E-mail to say it is from us) [/!][/lineitems]-----Original Message----- From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Michael A. Rosen Sent: Friday, February 04, 2000 7:28 AM To: WebCatalog Talk Subject: Formatting Email I need to send invoices by email but the description field can have up to 250 characters. Does anyone have a technique for formatting email like the following?:Date Description Hours Rate Total ---- ----------------------- ----- ------- ------- 2/3/00 Here is a bunch of text 2 1000.00 2000.00 that is to long for a single line.2/5/00 If someone would pay me 2 1000.00 2000.00 this rate I would only have to work 1/2 day per monthMichael A Rosen miker@linqdesigns.com------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Sam Polk

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:

Search design (1997) Authenticate (2000) Omnibase file manipulation utility (1999) HELP!? (2002) SKU generator? (1998) Did you hear about this? (1997) suffix mapping, use of cache, etc. (1997) easiest way to check for a non-alphanumeric character? (2000) Setting up the server (1997) cart (1997) Bug Report, maybe (1997) [searchString] (1997) searchable list archive (1997) Re:listfiles-looking for slick solution (1997) WebDNA release (2005) Stinkin' [Referrer] (1998) Nesting format tags (1997) Max Record length (1997) 2.1 pricing? (1998) searching results (1999)