• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Html Coding question

jonmullen

Platinum Member
Ok... I have a fourm set up on my server that collects peoples e-mail and saves them to an txt file. How would I go about writing the Mailto command so that it would work like this; Mailto:"e-mail address from the txt file seperated by ;" That way I can log into a page with a password and sent out an e-mail to every one in the list. Any other suggestions of doing this would be helpful. Keep in mind though that I will be running this from a Cox server so I don't really want to get into any Peral scrips. Thanks for you help
 
I don't think theres any possible way you coudl do that with JUST html, maybe using Javascript.

PHP would be BY FAR the easiest way I can think of. Does COX support PHP? XML maybe too... but XML is yucky.
 
What you are doing is very simple. In my opinion the best method for this process would be to store the emails in a database. I tend to stick mostly with MS products, so for something as simple as storing emails I would use MS Access. Your going to have to use a server side technology. I would use ASP to connect to the DB and bring up a record with all the emails. Your interface would then need to be designed to select an email/emails from the list.

You won't really be able to use client side code (javascript/vbscript) unless you use something like RDO and even then your restricted to the available computers you could access this "admin" page from. By using server side only use can access this site anywhere you have internet access.

So to sum it up.......

If I had to throw this page together below are the following things my code would do.

(1) You open your "Admin" page. For example an AdminMail.asp. This ASP page would then pull a recordset of emails from an Access db. You display this on the page with a link or buttons for the addresses. (however you want to make the GUI)

(2) Add some client code to handle any ONCLICK events when you select an email or emails.

(3) Resubmit your form back to the ASP page and determine if a button or link was selected. You can do this by passing some info through a hidden field. (many ways to handle this)

(4) Your ASP page would then have some sort of logic to determine what emails or ID's were passed back to the page and then do some sort of mailing loop. This would be a little trickier. Of course here at work we would just you a mailing COM+ component (CDONTS or something) Anyways you could add some ASP code to possible write some type of client code to the browser to handle this. If you have a domain set up through a web hosting compnay they probably will have some sort of mailing component. Most Window boxes will have SMTP enabled thus allowing CDONTS.


I know this was kinda long winded but thats all I can do at the moment. If I ever get around to it in my busy schedule I will try to throw some code together that does this.

Anyways, Good luck



 
Back
Top