Email dengan Attcahment di Joomla

$from = '[email protected]';
$fromname = 'BIGSHOT Blog';
$recipient[] = '[email protected]';
$recipient[] = '[email protected]';
$subject = 'Want to learn about BIGSHOT Blog';
$body = '<p>Check us out!</p><p><a href="http://www.somewhere.com" target="_blank">http://www.somewhere.com</a></p>';
$mode = 1;
$cc = '[email protected]';
$bcc[] = '[email protected]';
$bcc[] = '[email protected]';
$attachment[] = '/home/my_site/public_html/images/stories/food/coffee.jpg';
$attachment[] = '/home/my_site/public_html/images/stories/food/milk.jpg';
$replyto = '[email protected]';
$replytoname = 'NO REPLY - BIGSHOT Blog';

JUtility::sendMail($from, $fromname, $recipient, $subject, $body, $mode, $cc, $bcc, $attachment, $replyto, $replytoname);
Impossible Ibis