用swift发送HTML邮件的问题 - PHP / 基础编程
我用swift发送一个页面到邮件里,发送时成功了,可邮件显示的不是页面,而是HTML代码,这是为什么啊?
在头里加标识,text/html表示是html页
加了~
看看邮件详细的头。
加的头起作用没?
多了这些东西:
Message-ID: <1274692844.4bfa44ec45216@yomovo3.ln>
Date: Mon, 24 May 2010 17:20:44 +0800
Subject: Mail's subject
from:
MIME-Version: 1.0
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
但显示的还是代码,连HTML得头部什么的都给显示出来了~呵呵呵~...
相关问答:
请教高手帮忙,session_start()放在外部的文件用 require 或 include 包含进来,请问这样做合理吗??代码运行是正常的,这样做合理吗??请高手指点。。。。 谢谢····
require 或 include ......
我这样写就没问题
#cp1 img{magin:5px;}
#cp2 img{magin:5px;}
#cp3 img{magin:5px;}
我想精简代码,用下面的写法,就出错了,是不是语法有问题?
#cp1,#cp2,#cp3 img{magin:5px;}
是语法有问题,你的写法相 ......
是用别人写的类做的,还原时提示You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO admin(seq,passwd,type,n ......