Hi..
I have send a mail with Subject line as
[BILLING #PHY-945-49853]: [Ticket #12622] Payment Method
But in the source of the message the line is like below
Subject: =?UTF-8?B?W1NBTEVTICN CQk4tOTM1LTM3OT E3XTogW1RpY2tld CAjMTI2MjJdIFBh eW1lbnQ=?=
=?UTF-8?B?IE1ldGhvZA= =?=
It is encoded in Base 64.How can i decode it back to the original subject line in English using php ? I have tried with the php base64_decode($ subject) but it does not decode it to the original subject ([BILLING #PHY-945-49853]: [Ticket #12622] Payment Method)
I'm also attaching a sample email message in this mail.
sample
Return-Path: .........
X-Original-To: ..........
Delivered-To: ........
Received: ......
X-DKIM: ........
Received:....
To: ....
Subject: =?UTF-8?B?W1NBTEVTICN CQk4tOTM1LTM3OT E3XTogW1RpY2tld CAjMTI2MjJdIFBh eW1lbnQ=?=
=?UTF-8?B?IE1ldGhvZA= =?=
From: =?UTF-8?B?U0FWVllFSE9 TVElORyBTQUxFUw ==?=
X-Priority: ..
X-MSMail-Priority: normal
X-MimeOLE: Produced By Kayako Fusion v4.01.204
X-Mailer: Kayako Fusion v4.01.204
Reply-To: .......
Date: .....
Content-Type: multipart/alternative;
boundary="=_1.6 4496c432f574889 24404b338155a2d 7"
MIME-Version: 1.0
Message-Id: ....
This is a message in MIME Format.
If you see this, your mail reader does not support this format.
--=_1.64496c432f5 7488924404b3381 55a2d7
Content-Type: text/plain;
charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
------------------------------------------------------
Support Center:
Content-Type: text/html;
charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
If anyone knows please help me....
I have send a mail with Subject line as
[BILLING #PHY-945-49853]: [Ticket #12622] Payment Method
But in the source of the message the line is like below
Subject: =?UTF-8?B?W1NBTEVTICN CQk4tOTM1LTM3OT E3XTogW1RpY2tld CAjMTI2MjJdIFBh eW1lbnQ=?=
=?UTF-8?B?IE1ldGhvZA= =?=
It is encoded in Base 64.How can i decode it back to the original subject line in English using php ? I have tried with the php base64_decode($ subject) but it does not decode it to the original subject ([BILLING #PHY-945-49853]: [Ticket #12622] Payment Method)
I'm also attaching a sample email message in this mail.
sample
Return-Path: .........
X-Original-To: ..........
Delivered-To: ........
Received: ......
X-DKIM: ........
Received:....
To: ....
Subject: =?UTF-8?B?W1NBTEVTICN CQk4tOTM1LTM3OT E3XTogW1RpY2tld CAjMTI2MjJdIFBh eW1lbnQ=?=
=?UTF-8?B?IE1ldGhvZA= =?=
From: =?UTF-8?B?U0FWVllFSE9 TVElORyBTQUxFUw ==?=
X-Priority: ..
X-MSMail-Priority: normal
X-MimeOLE: Produced By Kayako Fusion v4.01.204
X-Mailer: Kayako Fusion v4.01.204
Reply-To: .......
Date: .....
Content-Type: multipart/alternative;
boundary="=_1.6 4496c432f574889 24404b338155a2d 7"
MIME-Version: 1.0
Message-Id: ....
This is a message in MIME Format.
If you see this, your mail reader does not support this format.
--=_1.64496c432f5 7488924404b3381 55a2d7
Content-Type: text/plain;
charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
------------------------------------------------------
Support Center:
Content-Type: text/html;
charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
If anyone knows please help me....
Comment