sending email from extension

Discussion and education for beginner / novice programmers interested in embarking on the development process to take advantage of the extensible nature of the Joomla! CMS.

Moderators: tjay, seadap, Rogue4ngel, matthewhayashida

Forum rules
Post Reply
User avatar
Alfred
Joomla! Apprentice
Joomla! Apprentice
Posts: 16
Joined: Fri Aug 04, 2006 11:28 am
Contact:

sending email from extension

Post by Alfred » Mon Dec 31, 2007 2:43 pm

Hi,

I want to send email(s) from within the extension I'm creating, at the moment I use:

Code: Select all

JUtility::sendMail($email , $name, $emailto, $subject, $message)


Which works, but I'm not sure how the mails are actually send, does this use the global email settings from Joomla (phpmailer / Sendmail / SMTP) ?

Alfred

bemyway
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Jan 06, 2008 11:51 am
Contact:

Re: sending email from extension

Post by bemyway » Sun Jan 06, 2008 6:50 pm

Find method sendMail in class JUtility and there you find answer.


Post Reply