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:

ShowNext (1997) Who is doing sign-ups-got it (1998) Anyone awake? Just testing... (2005) Active Server Code... (1998) default value from Lookup (was Grant, please help me) (1997) WebCat2b12plugin - [search] is broken ... not! (1997) [OT] Create a thumbnail image of a live webpage (2008) Odd Cart Behavior (1997) Help name our technology! (1997) my price won't move (1997) writefile - continued (1997) [ShowIf] and empty fields (1997) [WebDNA] Amazon EC2 (2009) Trying to Migrate from one server to another (2003) RAM variables (1997) Another bug to squash (WebCat2b13 Mac .acgi) (1997) WebCat editing, SiteGuard & SiteEdit (1997) RE: Remote administration (1998) Great product and great job ! (1997) Erotic Sites (1997)