Mail Header Problem

Posted on 2007-08-10
Last Modified: 2013-11-05
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).

Question by:travelgr
    1 Comment
    LVL 21

    Accepted Solution

    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

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
    Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
    Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
    The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now