Page 1 of 1

[SOLVED] generate email with "title page" as email objet

Posted: Thu Sep 19, 2013 7:31 am
by giapippo
hello
I created a site for the resale of used atuto
I would like to put in each page car the ability to send an email to the seller with the automatic insertion of the title of the page as an object

how can I do?
the site and 'www.autodire.it

thanks
gianluca

Re: generate email with "title page" as email objet

Posted: Thu Sep 19, 2013 9:08 am
by rotezecke
perhaps via UDT

Code: Select all

$contentops = cmsms()->GetContentOperations();
$content_obj = $contentops->getContentObject();
mail('bunga.bunga@berlusconi.it',$content_obj->Name(),'your message');
untested :)

Re: generate email with "title page" as email objet

Posted: Thu Sep 19, 2013 2:25 pm
by velden
rotezecke wrote:...bunga.bunga@berlusconi.it...
;D

FormBuilder also has the possibility to dynamically fill a field. Read the help.

Never used it for this purpose but you might give it a try.

Re: generate email with "title page" as email objet

Posted: Thu Sep 19, 2013 5:08 pm
by Rolf
I use formbuilder a lot this way, works like a charm

Re: generate email with "title page" as email objet

Posted: Fri Oct 25, 2013 9:38 am
by giapippo
thanks
I do a test and will update