The problem Someone leaves a comment on your blog. You find out whenever you happen to remember to check. No database, no admin panel, no push notification — just a flat file sitting on disk waiting for you to look. That's the deal when you go the no-DB route. Time to fix at least the notification part. Three options, one choice There are exactly three ways to send email from PHP, and only one of them is worth your time here. Native mail() : depends on a local sendmail or Postfix config, behaves differently on every host, and on shared hosting it almost always lands straight in spam. You have no control over headers, no TLS, no authentication. Hard pass. DIY SMTP over fsockopen() : technically possible. You open a socket, send EHLO, negotiate STARTTLS, handle AUTH LOGIN, base64-encode credentials, manage timeouts manually. It works right up until Gmail changes something and your handshake breaks at 2am. You're writing a worse version of PHPMailer for no reason. PHPMailer: battle-tested since 2001.…