如何在Mailgun php中设置标题“回- to”?
我已经使用了这段代码,但无法对热成像设置标头
Mail::send('email.message', $data, function ($message) use ($data) {
$message->to($data['to_email'], $data['to_name'])
->subject($data['subject'])
->from($data['from_email'], $data['from_name']);
});
发布于 2015-11-16 09:37:06
它就像在您的链上添加一个replyTo一样简单
Mail::send('email.message', $data, function($message) use($data)
{
$message->to($data['to_email'], $data['to_name'])
->subject($data['subject'])
->from($data['from_email'], $data['from_name'])
->replyTo('REPLY.TO.THIS@email.com');
});
如果要将名称添加到答复中,只需添加另一个具有名称的参数:
->replyTo('REPLY.TO.THIS@email.com', 'Arsen Ibragimov')
https://stackoverflow.com/questions/33730866
复制相似问题