I am coming from a .net/C# background and we have recently moved to a Craft/Twig platform. What is the best way to do this: Have a visitor come to a Craft webpage (Twig file), enter their email address in a text box, hit a button, and have an email message sent to them containing a PDF attachment that they selected from that page?
Is this functionality built-in to Craft or do I need a plugin?
$email->addAttachment($pubpath); ................
Email error: Could not access file: //localhost:3000/uploads/pubfiles/Lampen2014.pdf – Chip Shank Apr 23 '17 at 14:39