Moderator |
|
Als je boundaries in je headers zet, moet je ze ook gebruiken he?
Je mailinhoud moet tussen je boundaries komen te staan, zo bijvoorbeeld:
To:
Subject: Test topic, mail in $to en To:
Return-Path: naam <a@b.c>
From: naam <a@b.c>
Reply-To: naam <a@b.c>
To: naam <a@b.c>
X-Mailer: PHP/5.0.5
X-Priority: 3
MIME-Version: 1.0
Content-Type: multipart/related;
boundary="----=_df674995004ab10b9ade9452edca306d"
This is a MIME encoded message.
------=_df674995004ab10b9ade9452edca306d
Content-Type: multipart/alternative;
boundary="----=_86e34058eb2034484ee7f67b5c9772f6"
------=_86e34058eb2034484ee7f67b5c9772f6
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
text-variant van je bericht
------=_86e34058eb2034484ee7f67b5c9772f6
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
html variant van je bericht
------=_86e34058eb2034484ee7f67b5c9772f6--
------=_df674995004ab10b9ade9452edca306d--
To: Subject : Test topic , mail in $to en To :Return-Path: naam <a@b.c> From: naam <a@b.c> Reply-To: naam <a@b.c> To: naam <a@b.c> X-Mailer: PHP/5.0.5 X-Priority: 3 MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_df674995004ab10b9ade9452edca306d" This is a MIME encoded message. ------=_df674995004ab10b9ade9452edca306d Content-Type: multipart/alternative; boundary="----=_86e34058eb2034484ee7f67b5c9772f6" ------=_86e34058eb2034484ee7f67b5c9772f6 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable text-variant van je bericht ------=_86e34058eb2034484ee7f67b5c9772f6 Content-Type: text/html Content-Transfer-Encoding: quoted-printable html variant van je bericht ------=_86e34058eb2034484ee7f67b5c9772f6-- ------=_df674995004ab10b9ade9452edca306d--
|