最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

In the form of Laravel Project, mail doesn't recieve from user but thank you mail goes to the user - Stack Overflow

programmeradmin4浏览0评论

Here is my code:

1st part:

Mail::send('emails.reservation-mail',$data,function ($message) use ($data){
    $message->from($data['from']);
    $message->to($data['email']);
    $message->subject($data['subject']);
});

2nd part:

Mail::send('emails.booking-mail',$data,function ($message) use ($data){
    $message->from($data['email']);
    $message->to($data['from']);
    $message->subject('Thank You For Booking. '.SITE_META_TITLE);
});

I am using the above code in our website. 1st part doesn't work but 2nd part is working in the same form.

I want to recieve the user's date in our mailbox. Only thank you message goes to user but didn't recieve the user's data in our mailbox.

Even i use my email address manually: $message->to($data['[email protected]']); still doesn't recieve any data in the mail.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论