There has been a lot of requests by those who are learning and improving thier PHP skills to start a community of new challanges and projects. This new section will ask for developers to participate and attempt to build functions that is provided in the specs. Participants can create in any way they like and add additional features they want. Each new task will appear approx every week and will be included in a sticky thread in the PHP forum.
Task 1: PHP Emailer
Build an easy to use email function or class object that handles email headers, attachments and multipart html/text body messages.
Optional: Allow an external html and/or text file to be used as a template in which the placeholders can be replaced with dynamic text. For example:
Code:
Dear %FIRST_NAME%,
This email is to let you know we have received your
message on %DATETIME%. We will be sure to respond
as soon as we can.
Sincerely,
%SITE_OWNER%
__________________
<mgraphic /> - I don't have a solution but I admire the problem.
Last edited by mgraphic; 05-19-2011 at 09:29 PM..
|