Please create a simple PHP application that accepts a visitor’s email address and emails them random XKCD comics every five minutes.
Your app should include email verification to avoid people using others’ email addresses.
XKCD image should go as an email attachment as well as inline image content.
You can visit [login to view URL] programmatically to return a random comic URL and then use JSON API for details [login to view URL]
Please make sure your emails contain an unsubscribe link so a user can stop getting emails.