Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Email attachment


Reply

1186 Views

Avatar
jjtoymachine

21 October 2008 at 6:39am Community Member, 1 Post

Hi there,

I am trying to figure out how to email an attachment using the default SS email handler.

$email = new Email($from, $to, $subject, $body, $attachment);
$email->send();

I know the above is the syntax to send and email, but what is the syntax to attach an attachment?

Thank you for your help