Michael,

If you are writing the emails as files, you will need to do the line wraps
yourself, which means for each message, the last thing you do before writing
each file out to the SMTP server is to replace all instances of '=' with
'=3D', and wrap the long lines with the last character on the wrapped lines
being an equals sign. (You should not send email messages with lines longer
than 72 characters).

Depending on how you keen you are about protecting your data, mark each your
records with a large random number. When you send your mail, include this
number as a hidden field in the form. Use the random number as the record
key for when the form is posted - don't use the database record id. Record
id's are generally sequential, and you don't want some script kiddie
updating all of your records, because they worked out your database record
id's.
 
Once a record has been updated you can then mark it as stale, which means
that the users will need to login before making further changes. That way
you only allow one update from the email.

Regards,

Jason.

| With Imagination        www.wi.com.au       [EMAIL PROTECTED] |
|  P 02 9929 9229         M 0411 288 596       F 02 9460 4770 |
| Planning, Implementation and Management of Web Applications |


> From: ServerSmiths Tango Development <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Thu, 16 Oct 2003 21:29:22 -0700
> To: [EMAIL PROTECTED]
> Subject: Witango-Talk: creating HTML email with form for submission?
> 
> Say Folks,
> 
> I thought I had a post flagged that talked about the correct email
> header for Tango to use to create a valid HTML email but cannot find
> it. Anyone have any input/tips/advice? I need to create a valid HTML
> email and then write it to a folder on my disk where my SMTP server
> will take it and send it out.
> 
> But here's the twist, this client wants to have a form embedded in the
> HTML which is pre-populated with data from his database. The email will
> tell his recipient to verify his data or change the data in the form
> fields and then to submit the form, either confirming the data or
> updating it.
> 
> He doesn't want to have them have to open their browser via a link.
> 
> I think is is pretty much do-able but would like to hear from anyone
> who has tried to cross this bridge and fell in the river instead.
> 
> Thanks,
> 
> Michael Heth
> Web Information Architect
> 
> 
> __________________S E R V E R S M I T H S__________________
> 
> http://www.serversmiths.com/
> 
> Technology Infrastructure Provider
> 
> I N T E R N E T  P R E S E N C E  S O L U T I O N S
> 
> | EWordSmith | LightningSite | Enigma.Engine |
> 
> ________M A R I N  C O U N T Y  C A L I F O R N I A________
> 
> ________________________________________________________________________
> TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

Reply via email to