Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

Hi! I am getting this error when trying to send email from a live server. Slim Application Error

Hi! Can someone please help me with this issue?

The application could not run because of the following error:

Details

Type: Swift_RfcComplianceException Message: Address in mailbox given [Nizam Uddin] does not comply with RFC 2822, 3.6.2. File: /home/sysintech/nizamsikder/slimproject/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/MailboxHeader.php Line: 348

1 Answer

This post from github looks like it might get you started.

The four main pointers:

  • Incorrect email address format in to,from or reply-to fields
  • Email address or host does not exist
  • From email address should be valid working email address
  • Not fully qualified domain name used in from email address

Essentially just go round, make sure you don't have any typos and everything you think exists actually exists :)

Thanks Tom.