I have an email address that pipes all messages to a PHP script. I know how to parse the contents, but I can't find an actual email addresses anywhere in the "to" and "from" headers. Is that something that just isn't available?
So what I'm receiving looks something like this:
To: Jane Doe, John Doe
Subject: This is the subject.
Date: Mon, 16 Apr 2012 17:07:25 -0500
From: Test User
Message-ID:
X-Priority: 3
X-Mailer: PHPMailer 5.1 (phpmailer.sourceforge.net)
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
I only get the names, but not the email addresses. Does anybody have any thoughts on that?
Are you sure they're not there? Addresses tend to be enclosed in < >
brackets, which would vanish if you're viewing this in a browser. If you are viewing in a browser, try viewing the page's source, in case those bracketed addresses are being interpreted as html tags.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.