Leave a Reply

2 comments

  1. Add “rn” after each header line in the $headers var.
    Some mail systems have an issue with “r” – it breaks the message on some mail servers for some reason; if you continue to have issues, try omitting the “r” ‘s.