Home > Joomla 1.5 > Send mail through Joomla 1.5

Send mail through Joomla 1.5

November 18, 2009 Leave a comment Go to comments

Joomla gives simple way to send e-mail. Do not need to write multi line code, write one line code and send e-mail. Follow these steps ..

Step 1. First of all include utility class if it is not included.

Step 2. Now call this function :
JUtility:: sendMail($from, $fromname, $recipient, $subject, $body, $mode, $cc, $bcc, $attachmentl, $replyto, $replytoname) ;

these are optional parameters
$mode=0, (default is ‘0’(zero) for plain text, 1 for html text)

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: