[Last Call] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 201
  • Last Modified:

Mail Header Problem

Hi experts,

I'm sending many mails in different languages, but the header of the mail appears all the time in English (eg. Date:        Wed, 25 Jul 2007 03:20:02 +1200 [07/25/2007 03:20:02 AM FJT] ), and not in the selected language. I'm using PHP 5.2.0 and PHPMailer Class for sending mails. How can I change the header to the selected language? ( so for german users showing the date in german format and so on).

1 Solution
Julian MatzCommented:
Hi! I hear that SwiftMailer is a little more advanced than PHPMailer. I haven't used it yet, but if I had to choose between these two, I would go with Swift. Swift seems to have good support for header manipulation and also locale settings. Have a look through the docs and also this page on manipulating MIME headers:


Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now