In the code, simply change the $subject variable to the string of your choice. If you want the subject to be dynamic, that's a bit trickier. You would need to get the dynamic information into the script.
For example, if you wanted to start a new post each day that welcomed all new users by name in the subject line, you would have to do a query to get the names of everyone who joined in the past 24 hours, and put that information into your subject string.
Comment out my line that sets the subject as the date, and right after that, put (for example) $subject = "This is an automatic post!";
Hope that splains what you needed to know.
Amy
|