Documentation

Mail
in package

发送邮件 composer require symfony/mailer https://symfony.com/components/Mailer

Table of Contents

Properties

$email  : mixed
$mail_from  : mixed
$mailer  : mixed

Methods

addPart()  : mixed
添加附件
init()  : mixed
初始化
send()  : mixed
发送邮件

Properties

$email

public static mixed $email

$mail_from

public static mixed $mail_from

$mailer

public static mixed $mailer

Methods

addPart()

添加附件

public static addPart(mixed $file[, mixed $file_name = '' ][, mixed $mime = '' ]) : mixed
Parameters
$file : mixed
$file_name : mixed = ''
$mime : mixed = ''

init()

初始化

public static init([mixed $dsn = '' ]) : mixed
Parameters
$dsn : mixed = ''

send()

发送邮件

public static send(mixed $mail_config) : mixed
Parameters
$mail_config : mixed

        
On this page

Search results