Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » Email attachment

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

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

Page: 1
Go to End
Author Topic: 1170 Views
  • jjtoymachine
    Community Member
    1 Post

    Email attachment Link to this 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);

    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

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.