The Trek BBS

The Trek BBS (http://www.trekbbs.com/index.php)
-   Science and Technology (http://www.trekbbs.com/forumdisplay.php?f=36)
-   -   Creating an HTML Input Form (need advice!!) (http://www.trekbbs.com/showthread.php?t=203404)

Danoz February 13 2013 05:55 PM

Creating an HTML Input Form (need advice!!)
 
Hey Friends!

Need some thoughts on the best way to go about this.

I'm going to have a lot of emails that are going to be pretty similar, with some key text changed (name, locations, information) etc. I want to set this up similar to a mail merge, but with a front-end form that will shoot out the final HTML I need on the next page.

Anyone know the best way I could go about coding this? Seems like it should be pretty simple -- if I can create the form in such a way that the output is set to place at specific locations in the HTML...

Or is there a program / utility that already does this?

Thanks!

Robert Maxwell February 13 2013 05:58 PM

Re: Creating an HTML Input Form (need advice!!)
 
If you have command-line access to a system mail utility (e.g. sendmail), this sounds like something you could script pretty easily just by feeding an input file with the variable fields in it (names, email addresses, any custom text, etc.) and having it generate and shoot out all the emails in one go.

What are you going to do with the final HTML, just copy and paste it into a mail client or what?


All times are GMT +1. The time now is 10:16 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
FireFox 2+ or Internet Explorer 7+ highly recommended.