Laravel 5.7我有一封打折邮件:
@component('mail::message')
Hello, this is an email
@endcomponent当它被发送时,会添加一个脚注:
2018年应用程序名版权所有。
我想编辑这个页脚。我已经用php artisan vendor:publish --tag=laravel-mail发布了供应商模板。我试过编辑vendor/mail/markdown/footer.blade.php和vendor/mail/markdown/message.blade.php。但在这两种情况下,原始页脚都保留在电子邮件中。我哪里出问题了?
发布于 2018-12-06 11:26:23
答案是,您必须同时更改标记和HTML文件。在我的例子中,我改变了
vendor/mail/markdown/message.blade.php
和
vendor/mail/html/message.blade.php
请参阅https://github.com/laravel/framework/issues/17970#issuecomment-281121329
https://stackoverflow.com/questions/53650245
复制相似问题