0
new mail()
を使用してメールを送信しようとしていますが、ほとんど動作します。送信されたメールには内容がありますが表示されません
送信される電子メールには生のメッセージに必要なコンテンツが含まれていますが、Apple Mail(アプリケーション)はそれを読み取ることができません。
これはMail(Apple App)の問題かメール(ColdFusionオブジェクト)の問題ですか?
なく、少なくとも最後に、ColdFusionがWindows上で実行されている10
ColdFusionコード
var mail = new mail();
mail.setFrom(application.EMAILFROM);
mail.setTo(arguments.email);
mail.setSubject(application.GSSITE_FULL_NAME & " Password Reset");
mail.addPart(type="plain", charset="utf-8", body="This is a test message.");
mail.send();
電子メールプログラムは、生のEメール
Return-Path: <[email protected]>
Received: from 10.211.55.15 (cpe-76-169-198-102.socal.res.rr.com [76.169.198.102]) by mail.xxx.com with SMTP;
Sat, 1 Jul 2017 19:41:27 -0700
Date: Sat, 1 Jul 2017 19:41:26 -0700 (PDT)
From: [email protected]
To: [email protected]
Message-ID: <[email protected]>
Subject: xxx Password Reset
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_Part_78_1984282986.1498963286427"
X-Mailer: ColdFusion 2016 Application Server
X-SmarterMail-TotalSpamWeight: 0 (Authenticated)
------=_Part_78_1984282986.1498963286427
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
This is a test message.
------=_Part_78_1984282986.1498963286427
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
------=_Part_78_1984282986.1498963286427--
ヘルプで何が起こっているのか
?
他のメールサイトやクライアントはどうなりますか? –
HTML部分をメールに追加すると、iOSデバイスに正しく表示されます。前回チェックしたとき、部品の順序も重要でした。つまり、プレーンが最初に、次にHTMLが続きます。 – Alex
これはまさに必要なものです。あなたは答えにあなたのコメントを書き留めてもいいですか? –