Answers for "email with attcahment in joomla"

0

email with attcahment in 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);
Posted by: Guest on May-22-2021

Browse Popular Code Answers by Language