I'm stuck ... emailing new record

3 posts by 2 authors in: Forums > CMS Builder
Last Post: March 31, 2014   (RSS)

By terryally - March 14, 2014

Hi guy,

I need some help. I have tried all manner of stuff without success.

I am running a CMSB (2.14) for a shows database. I want that whenever a new show is entered that it emails me with (some of) the information.

So I decided to use a cron to run every morning. In the PHP file I using the mail function

mail()

and in the 

$message = ;

field I am trying to run the output but it's not working.

How do I store the output into a variable to stick into the message field?

Hope it's not too complicated.

Thanks

Terry

By terryally - March 31, 2014

Hi Greg,

Thanks for your response and apology for the late reply.

This code works well.

Thanks again.

Terry