1 $AltBody--属性
2 出自:PHPMailer::$AltBody
3 文件:class.phpmailer.php
4 说明:该属性的设置是在邮件正文不支持HTML的备用显示
5
6 AddAddress--方法
7 出自:PHPMailer::AddAddress(),文件:class.phpmailer.php
8 说明:增加收件人。参数1为收件人邮箱,参数2为收件人称呼。例 AddAddress("xiaoxiaoxiaoyu@xiaoxiaoyu.cn","xiaoxiaoyu"),但参数2可选,AddAddress(xiaoxiaoxiaoyu@xiaoxiaoyu.cn)也是可以的。
9 函数原型:public function AddAddress($address, $name = '') {}
10
11 AddAttachment--方法
12 出自:PHPMailer::AddAttachment()
13 文件:class.phpmailer.php。
14 说明:增加附件。
15 参数:路径,名称,编码,类型。其中,路径为必选,其他为可选
16 函数原型:
17 AddAttachment($path, $name = '', $encoding = 'base64', $type = 'application/octet-stream'){}
18
19 AddBCC--方法
20 出自:PHPMailer::AddBCC()
21 文件:class.phpmailer.php
22 说明:增加一个密送。抄送和密送的区别请看[SMTP发件中的密送和抄送的区别] 。
23 参数1为地址,参数2为名称。注意此方法只支持在win32下使用SMTP,不支持mail函数
24 函数原型:public function AddBCC($address, $name = ''){}
25
26 AddCC --方法
27 出自:PHPMailer::AddCC()
28 文件:class.phpmailer.php
29 说明:增加一个抄送。抄送和密送的区别请看[SMTP发件中的密送和抄送的区别] 。
30 参数1为地址,参数2为名称注意此方法只支持在win32下使用SMTP,不支持mail函数
31 函数原型:public function AddCC($address, $name = '') {}
32
33 AddCustomHeader--方法
34 出自:PHPMailer::AddCustomHeader()
35 文件:class.phpmailer.php
36 说明:增加一个自定义的E-mail头部。
37 参数为头部信息
38 函数原型:public function AddCustomHeader($custom_header){}
39
40 AddEmbeddedImage --方法
41 出自:PHPMailer::AddEmbeddedImage()
42 文件:class.phpmailer.php
43 说明:增加一个嵌入式图片
44 参数:路径,返回句柄[,名称,编码,类型]
45 函数原型:public function AddEmbeddedImage($path, $cid, $name = '', $encoding = 'base64', $type = 'application/octet-stream') {}
46 提示:AddEmbeddedImage(PICTURE_PATH. "index_01.jpg ", "img_01 ", "index_01.jpg ");
47 在html中引用
48
49 AddReplyTo--方法
50 出自:PHPMailer:: AddReplyTo()
51 文件:class.phpmailer.php
52 说明:增加回复标签,如"Reply-to"
53 参数1地址,参数2名称
54 函数原型:public function AddReplyTo($address, $name = '') {}
55
56 AddStringAttachment-方法
57 出自:PHPMailer:: AddStringAttachment()
58 文件:class.phpmailer.php
59 说明:增加一个字符串或二进制附件(Adds a string or binary attachment (non-filesystem) to the list.?)
60 参数:字符串,文件名[,编码,类型]
61 函数原型:public function AddStringAttachment($string, $filename, $encoding = 'base64', $type = 'application/octet-stream') {}
62
63 Authenticate--方法
64 出自:SMTP::Authenticate()
65 文件:class.smtp.php
66 说明:开始SMTP认证,必须在Hello()之后调用,如果认证成功,返回true,
67 参数1用户名,参数2密码
68 函数原型:public function Authenticate($username, $password) {}
69
70 $Body--属性
71 出自:PHPMailer::$Body
72 文件: class.phpmailer.php
73 说明:邮件内容,HTML或Text格式
74
75 $CharSet--属性
76 出自:PHPMailer::$CharSet
77 文件:class.phpmailer.php
78 说明:邮件编码,默认为iso-8859-1
79
80 $ConfirmReadingTo--属性
81 出自:PHPMailer::$ConfirmReadingTo 文件class.phpmailer.php
82 说明:回执?
83
84 $ContentType--属性
85 出自:PHPMailer::$ContentType
86 文件: class.phpmailer.php
87 说明:文档的类型,默认为"text/plain"
88
89 $CRLF--属性
90 出自:PHPMailer::$ContentType
91 文件:class.phpmailer.php
92 说明:SMTP回复结束的分隔符(SMTP reply line ending?)
93
94 class.phpmailer.php--对象
95 出自:class.phpmailer.php
96 文件: class.phpmailer.php
97 说明:phpmailer对象
98
99 class.smtp.php--对象
100 出自:class.smtp.php 文件: class.smtp.php
101 说明:SMTP功能的对象
102
103 ClearAddresses--方法
104 出自:PHPMailer::ClearAddresses()
105 文件: class.phpmailer.php
106 说明:清除收件人,为下一次发件做准备。返回类型是void
107
108 ClearAllRecipients--方法
109 出自:PHPMailer::ClearAllRecipients()
110 文件: class.phpmailer.php
111 说明:清除所有收件人,包括CC(抄送)和BCC(密送)
112
113 ClearAttachments--方法
114 出自:PHPMailer::ClearAttachments()
115 文件: class.phpmailer.php
116 说明:清楚附件
117
118 ClearBCCs--方法
119 出自:PHPMailer::ClearBCCs() 文件 class.phpmailer.php
120 说明:清楚BCC (密送)
121
122 ClearCustomHeaders--方法
123 出自:PHPMailer::ClearCustomHeaders()
124 文件: class.phpmailer.php
125 说明:清楚自定义头部
126
127 ClearReplyTos--方法
128 出自:PHPMailer::ClearReplyTos()
129 文件: class.phpmailer.php
130 说明:清楚回复人
131
132 Close--方法
133 出自:SMTP::Close()
134 文件: class.smtp.php
135 说明:关闭一个SMTP连接
136
137 Connect--方法
138 出自:SMTP::Connect()
139 文件: class.smtp.php
140 说明:建立一个SMTP连接[/color]Mailer.html
141
142 $ContentType--属性
143 出自:PHPMailer::$ContentType
144 文件: class.phpmailer.php
145 说明:文档的类型,默认为"text/plain"
146
147 $do_debug--属性
148 出自:SMTP::$do_debug
149 文件:class.smtp.php
150 说明:SMTP调试输出
151
152 Data-方法
153 出自:SMTP::Data()
154 文件:class.smtp.php
155 说明:向服务器发送一个数据命令和消息信息(sendsthemsg_datatotheserver)
156
157 $Encoding--属性
158 出自:PHPMailer::$Encoding
159 文件:class.phpmailer.php
160 说明:设置邮件的编码方式,可选:"8bit","7bit","binary","base64",和"quoted-printable".
161
162 $ErrorInfo--属性
163 出自:PHPMailer::$ErrorInfo
164 文件:class.phpmailer.php
165 说明:返回邮件SMTP中的最后一个错误信息
166
167 Expand--方法
168 出自:SMTP::Expand()
169 文件:class.smtp.php
170 说明:返回邮件列表中所有用户。成功则返回数组,否则返回 false(Expandtakesthenameandaskstheservertolistallthepeoplewhoaremembersofthe_list_.Expandwillreturnbackandarrayoftheresultorfalseifanerroroccurs.)
171
172 $From--属性
173 出自:PHPMailer::$From文件class.phpmailer.php
174 说明:发件人E-mail地址
175 $FromName--属性
176 出自:PHPMailer::$FromName
177 文件:class.phpmailer.php
178 说明:发件人称呼
179
180 $Helo--属性
181 出自:PHPMailer::$Helo
182 文件:class.phpmailer.php
183 说明:设置SMTPHelo,默认是$Hostname(SetstheSMTPHELOofthemessage(Defaultis$Hostname).)
184
185 $Host--属性
186 出自:PHPMailer::$Host
187 文件:class.phpmailer.php
188 说明:设置SMTP服务器,格式为:主机名[端口号],如smtp1.example.com:25和smtp2.example.com都是合法的
189
190 $Hostname--属性
191 出自:PHPMailer::$Hostname
192 文件:class.phpmailer.php
193 说明:设置在Message-Id和andReceivedheaders中的hostname并同时被$Helo使用。如果为空,默认为SERVER_NAME或'localhost.localdomain"
194
195 Hello--方法
196 出自:SMTP::Hello()
197 文件:class.smtp.php
198 说明:向SMTP服务器发送HELO命令
199
200 Help--方法
201 出自:SMTP::Help()
202 文件:class.smtp.php
203 说明:如果有关键词,得到关键词的帮助信息
204
205 IsError--方法
206 出自:PHPMailer::IsError()
207 文件:class.phpmailer.php
208 说明:返回是否有错误发生
209
210 IsHTML--方法
211 出自:PHPMailer::IsHTML()
212 文件:class.phpmailer.php
213 说明:设置信件是否是HTML格式
214
215 IsMail--方法
216 出自:PHPMailer::IsMail()
217 文件:class.phpmailer.php
218 说明:设置是否使用php的mail函数发件
219
220 IsQmail--方法
221 出自:PHPMailer::IsQmail()
222 文件:class.phpmailer.php
223 说明:设置是否使用qmailMTA来发件
224
225 IsSendmail--方法
226 出自:PHPMailer::IsSendmail()
227 文件:class.phpmailer.php
228 说明:是否使用$Sendmail程序来发件
229
230 IsSMTP--方法
231 出自:PHPMailer::IsSMTP()
232 文件:class.phpmailer.php
233 说明:是否使用SMTP来发件
234
235 $Mailer--属性
236 出自:PHPMailer::$Mailer
237 文件:class.phpmailer.php
238 说明:发件方式,("mail","sendmail",or"smtp").中的一个
239
240 Mail--方法
241 出自:SMTP::Mail()
242 文件:class.smtp.php
243 说明:从$from中一个邮件地址开始处理,返回true或false。如果是true,则开始发件
244
245 Noop--方法
246 出自:SMTP::Noop()
247 文件:class.smtp.php
248 说明:向SMTP服务器发送一个NOOP命令
249
250 $Password--属性
251 出自:PHPMailer::$Password
252 文件:class.phpmailer.php
253 说明:设置SMTP的密码
254
255 $PluginDir--属性
256 出自:PHPMailer::$PluginDir
257 文件:class.phpmailer.php
258 说明:设置phpmailer的插件目录,仅在smtpclass不在phpmailer目录下有效
259
260 $Port--属性
261 出自:PHPMailer::$Port
262 文件:class.phpmailer.php
263 说明:设置SMTP的端口号
264
265 $Priority--属性
266 出自:PHPMailer::$Priority
267 文件:class.phpmailer.php
268 说明:设置邮件投递优先等级。1=紧急,3=普通,5=不急
269
270 PHPMailer--对象
271 出自:PHPMailer
272 文件:class.phpmailer.php
273 说明:PHPMailer-PHPemailtransportclass
274
275 Quit--方法
276 出自:SMTP::Quit()
277 文件:class.smtp.php
278 说明:向服务器发送Quit命令,如果没有错误发生。那么关闭sock,不然$close_on_error为true
279
280 Recipient--方法
281 出自:SMTP::Recipient()
282 文件:class.smtp.php
283 说明:使用To向SMTP发送RCPT命令,参数为:$to
284
285 Reset--方法
286 出自:SMTP::Reset()
287 文件:class.smtp.php
288 说明:发送RSET命令从而取消处理中传输。成功则返回true,否则为false
289
290 $Sender--属性
291 出自:PHPMailer::$Sender
292 文件:class.phpmailer.php
293 说明:SetstheSenderemail(Return-Path)ofthemessage.Ifnotempty,willbesentvia-ftosendmailoras'MAILFROM'insmtpmode.
294
295 $Sendmail--属性
296 出自:PHPMailer::$Sendmail
297 文件:class.phpmailer.php
298 说明:设置发件程序的目录
299
300 $SMTPAuth--属性
301 出自:PHPMailer::$SMTPAuth
302 文件:class.phpmailer.php
303 说明:设置SMTP是否需要认证,使用Username和Password变量
304
305 $SMTPDebug--属性
306 出自:PHPMailer::$SMTPDebug
307 文件:class.phpmailer.php
308 说明:设置SMTP是否调试输出?
309
310 $SMTPKeepAlive--属性
311 出自:PHPMailer::$SMTPKeepAlive
312 文件:class.phpmailer.php
313 说明:在每次发件后不关闭连接。如果为true,则,必须使用SmtpClose()来关闭连接
314
315 $SMTP_PORT--属性
316 出自:SMTP::$SMTP_PORT
317 文件:class.smtp.php
318 说明:设置SMTP端口
319
320 $Subject--属性
321 出自:PHPMailer::$Subject
322 文件:class.phpmailer.php
323 说明:设置信件的主题
324
325 Send--方法
326 出自:SMTP::Send()
327 文件:class.smtp.php
328 说明:从指定的邮件地址开始一个邮件传输
329
330 Send--方法
331 出自:PHPMailer::Send()
332 文件:class.phpmailer.php
333 说明:创建邮件并制定发件程序。如果发件不成功,则返回false,请使用ErrorInfo来查看错误信息
334
335 SendAndMail--方法
336 出自:SMTP::SendAndMail()
337 文件:class.smtp.php
338 说明:从指定的邮件地址开始一个邮件传输
339
340 SendOrMail--方法
341 出自:SMTP::SendOrMail()
342 文件:class.smtp.php
343 说明:从指定的邮件地址开始一个邮件传输
344
345 SetLanguage--方法
346 出自:PHPMailer::SetLanguage()
347 文件:class.phpmailer.php
348 说明:设置phpmailer错误信息的语言类型,如果无法加载语言文件,则返回false,默认为english
349
350 SMTP--方法
351 出自:SMTP::SMTP()
352 文件:class.smtp.php
353 说明:初始化一个对象以便数据处于一个已知的状态
354
355 SMTP--对象
356 出自:SMTP
357 文件:class.smtp.php
358 说明:SMTP对象
359
360 SmtpClose--方法
361 出自:PHPMailer::SmtpClose()
362 文件:class.phpmailer.php
363 说明:如果有活动的SMTP则关闭它。
364
365 $Timeout--属性
366 出自:PHPMailer::$Timeout
367 文件:class.phpmailer.php
368 说明:设置SMTP服务器的超时(单位:秒)。注意:在win32下,该属性无效
369
370 Turn--方法
371 出自:SMTP::Turn()
372 文件:class.smtp.php
373 说明:这是一个可选的SMTP参数,目前phpmailer并不支持他,可能未来支持
374
375 $Username--属性
376 出自:PHPMailer::$Username
377 文件:class.phpmailer.php
378 说明:设置SMTP用户名
379
380 $Version--属性
381 出自:PHPMailer::$Version
382 文件:class.phpmailer.php
383 说明:返回Phpmailer的版本
384
385 Verify--方法
386 出自:SMTP::Verify()
387 文件:class.smtp.php
388 说明:通过服务器检查用户名是否经过验证
389
390 $WordWrap--属性
391 出自:PHPMailer::$WordWrap
392 文件:class.phpmailer.php
393 说明:设置每行最大字符数,超过改数后自动换行