It's about the time that I should be writing the next issue of "Of Course" - our twice yearly newsletter about Open Source training, and the news from Melksham and our training centre. But there's so much happening - with Well House Manor opening earlier this month, and with an initial 3 months 'running in' period - that I want to write to people with an intermediate update too, before "Of Course" comes out fresh and early in the first days of 2007.
Noticing that many emails have switched from text only into full HTML with pictures these days, I've decided to go the same route - but how? Well - I've been looking into it and here are the steps I've taken:
* Draft the HTML page to be sent, in a table around 600 pixels wide, and ensuring that ALL links are fully qualified.
* Write a PHP script to send out the email (much the easiest email client to use!) ensuring that extra "from", and "reply-to" headers are included.
* Add an extra header - "Content-type: text/html" to the email headers.
My particular script is looping through a short file of email addresses and names, and filling in each recipients name before sending. Great care is being taken NOT to run the script twice, and to delete it from the URL it's hidden at as soon as it has been run - after all, I certainly don't want to risk spamming people.
If you want to see a copy of my letter, it's on the web site
here (written 2006-10-25)
Associated topics are indexed under
G503 - Well House Consultants - Newsletter and publicity [3984] 20 minutes in to our 15 minutes of fame - (2013-01-20)
[3974] TV show appearance - how does it effect your web site? - (2013-01-13)
[3354] Sales and Marketing - adding advertising to the product - (2011-07-11)
[3165] Journalism 101 - (2011-02-11)
[3153] Points West to Belfast - (2011-02-01)
[2873] Another toot of the trumpet - (2010-07-16)
[2564] Microblogging services - Plurk, Twitter, Jaiku and more - (2010-01-05)
[2388] `Of Course` is back! - (2009-08-31)
[2244] What should a web site cost you? - (2009-06-16)
[2124] Building down expectations - (2009-04-09)
[2051] A Presentation about our company - web and PHP - (2009-02-23)
[1698] Dealing with The Press - (2008-07-06)
[1673] Spam Filters ... are working! - (2008-06-11)
[1494] A time to update pictures - (2008-01-03)
[1284] An update on the West Wilts show ... - (2007-07-30)
[1090] Too many instructions, too much detail - (2007-02-23)
[1087] Telling a story in different ways - (2007-02-20)
[1000] One Thousand Posts and still going strong - (2006-12-18)
[734] Keeping customers informed by email - (2006-05-26)
[480] New look to website - (2005-10-30)
[458] Final courses of '05 coming up .... - (2005-10-08)
[336] Targetted Advertising - (2005-06-05)
[281] What they are saying about our OF COURSE newsletter - (2005-04-16)
[57] Posting 1000 letters! - (2004-09-21)
[48] PHP - onwards and upwards - (2004-09-14)
H112 - PHP - Further Web Page and Network Handling [4070] Passing variable between PHP pages - hidden fields, cookies and sessions - (2013-04-26)
[3918] Multiple page web applications - maintaining state - PHP - (2012-11-10)
[3568] Telling which ServerAlias your visitor used - useful during merging domains - (2012-01-04)
[3540] Easy session example in PHP - keeping each customers data apart - (2011-12-06)
[3432] 3 digit HTTP status codes - what are they, which are most common, which should be a concern? - (2011-09-11)
[3036] Sending out an email containing HTML from within a PHP page - (2010-11-07)
[2918] Downloading a report from the web for further local analysis - (2010-08-13)
[2729] Uploading a document or image to its own URL via a browser - (2010-04-18)
[2679] How to build a test harness into your PHP - (2010-03-16)
[2632] Shipping a test harness with your class in PHP - (2010-02-12)
[1549] http, https and ajp - comparison and choice - (2008-02-22)
[1518] Downloading data for use in Excel (from PHP / MySQL) - (2008-01-25)
[1515] Keeping staff up to date on hotel room status - (2008-01-22)
[1505] Script to present commonly used images - PHP - (2008-01-13)
[1496] PHP / Web 2 logging - (2008-01-06)
[1495] Single login and single threaded models - Java and PHP - (2008-01-04)
[1485] Copyright and theft of images, bandwidth and members. - (2007-12-26)
[1379] Simple page password protection - PHP - (2007-10-04)
[1355] .php or .html extension? Morally Static Pages - (2007-09-17)
[1210] PHP header() function - uses and new restrictions - (2007-05-30)
[1187] Updating a page strictly every minute (PHP, Perl) - (2007-05-14)
[1183] Improving searches - from OR to AND? - (2007-05-11)
[1114] PHP Image upload script - (2007-03-21)
[1009] Passing GET parameters through Apache mod_rewrite - (2006-12-27)
[936] Global, Superglobal, Session variables - scope and persistance in PHP - (2006-11-21)
[847] Image maps for navigation - a straightforward example - (2006-08-28)
[789] Hot answers in PHP - (2006-07-02)
[767] Finding the language preference of a web site visitor - (2006-06-18)
[675] Adding PHP tags to an old cgi program - (2006-04-08)
[603] PHP - setting sort order with an associative array - (2006-02-13)
[565] Using PHP to output images, XML, Style sheets, etc - (2006-01-15)
[542] Morning image, afternoon image - (2005-12-26)
[537] Daily Image Santafied - (2005-12-22)
[484] Setting the file name for a downloaded document - (2005-11-03)
[451] Accessing a page via POST from within a PHP script - (2005-09-26)
[443] Server side scripting of styles to suit the browser - (2005-09-12)
[425] Caching an XML feed - (2005-08-26)
[410] Reading a news or blog feed (RSS) in your PHP page - (2005-08-12)
[376] What brings people to my web site? - (2005-07-13)
[372] Time calculation in PHP - (2005-07-08)
[356] Sudoku helper or sudoku cheat - (2005-06-23)
[345] Spotting a denial of service attack - (2005-06-12)
[314] What language is this written in? - (2005-05-17)
[220] When to use Frames - (2005-02-19)
54bf
Some other Articles
And so to InvernessBrowser -> httpd -> Tomcat -> MySQL. Restarting.A commitment we won't be makingNot proud to be BritishOf course I'll tell you by emailPieces of PythonBrand new hotel and training centre, MelkshamPython - listing out the contents of all variablesPython - function v methodPython - extend v append on a list