FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Plugins and Code Hacks » Function to send emails?
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Function to send emails? [message #165052] Wed, 20 April 2011 15:00 Go to next message
Dayo is currently offline  Dayo   Iraq
Messages: 101
Registered: April 2011
Karma: 0
Senior Member
Can anyone point me to the relevant function I can use to send emails? I assume the application sends email notifications etc.

There are some likely rare but possible funky user conflicts in integrating that the admin will need to manually resolve.

Thanks
Re: Function to send emails? [message #165053 is a reply to message #165052] Wed, 20 April 2011 15:14 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
send_email() in iemail.inc.t.
Re: Function to send emails? [message #165054 is a reply to message #165053] Wed, 20 April 2011 15:23 Go to previous messageGo to next message
Dayo is currently offline  Dayo   Iraq
Messages: 101
Registered: April 2011
Karma: 0
Senior Member
Thanks.

Wouldn't this have been loaded into the process somewhere before POST_TEMPLATE? Can I just include it directly?

Re: Function to send emails? [message #165057 is a reply to message #165054] Wed, 20 April 2011 15:37 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Templates that need it will load it. So, it may be included, buy you cannot count on it. Try:
fud_use('iemail.inc');
send_email($from, $to, $subj, $body);

Re: Function to send emails? [message #165059 is a reply to message #165057] Wed, 20 April 2011 15:56 Go to previous message
Dayo is currently offline  Dayo   Iraq
Messages: 101
Registered: April 2011
Karma: 0
Senior Member
OK ... thanks
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Help Needed - fud_user_reg class
Next Topic: JQuery Update
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 22:53:55 GMT 2024

Total time taken to generate the page: 0.02348 seconds