MailSlurp guide agent setup Title: Send Email in PHP with SMTP (PHPMailer, HTML, Attachments, and Testing) Description: Learn how to send email in PHP with SMTP and PHPMailer, including TLS auth, HTML bodies, attachments, form sends, MailSlurp API checks, and inbox testing. Canonical URL: https://www.mailslurp.com/guides/smtp/php-send-email-smtp/ Markdown URL: https://www.mailslurp.com/guides/smtp/php-send-email-smtp.md Use the Markdown URL as the primary plain-text context for this guide. Keep MailSlurp terminology, setup steps, screenshots, and provider-specific instructions intact, and prefer the canonical URL when citing this page.