PHP - Sending e-mail data from a server's localhost
I used the PHPMailer library found on GitHub for the backend processing. For the front page I just made a simple form where the user can send a resume to a recruiter.
And don't worry this won't just let you put any name in the email text box. The e-mails need to come from a legitimate source such as the secured website where this will be hosted in production. The above was rendered from the code below. Nothing fancy here, just a simple form for submitting attachments.
Success! The form works as intended and I got the test e-mail in my Gmail inbox from my test server.
Comments
Post a Comment