Welcome to the Treehouse Community
Looking to learn something new?
Is video up to date? No class file as described by Alena in the .zip.
I downloaded the zip as described from Github and there is no class file as described by Alena in the video. Am I missing something or is this not how to install it anymore?
Jon Berkner10,002 Points
Great!!!! One more thing, if you are using the treehouse workspace you need to send to the localhost. However, the video has
$mail->addAddress('treehouse@localhost', 'your name');
which will return the error:
Message could not be sent.Mailer Error: You must provide at least one recipient email address.
You must update the address to include localdomain as:
$mail->addAddress('email@example.com', 'your name');