Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Send Smarty Output In An Email

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
Bradstar
Smarty n00b


Joined: 15 Jan 2004
Posts: 2
Location: Ontario, Canada

PostPosted: Thu Jan 15, 2004 4:40 am    Post subject: Send Smarty Output In An Email Reply with quote

Can someone guide me through how I would have a PHP script send the smarty output in an email?

Thanks!
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Gerald
Smarty Regular


Joined: 26 Nov 2003
Posts: 53
Location: Lyon [France]

PostPosted: Thu Jan 15, 2004 1:22 pm    Post subject: Reply with quote

somtehing like

$toSend = $smarty->fetch ('theTemplate.tpl');
$yourMailer->send ($toSend, ..., ...)
Back to top
View user's profile Send private message Visit poster's website
andre
Smarty Pro


Joined: 23 Apr 2003
Posts: 164
Location: Karlsruhe, Germany

PostPosted: Thu Jan 15, 2004 2:06 pm    Post subject: Reply with quote

As mailing class you could use phpMailer which is very good ... check it out. Smile
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP