Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

阿里云DM驱动发送 出错 The format of the specified textBody or htmlBody is invalid. #8

Open
andy236726493 opened this issue May 11, 2022 · 0 comments

Comments

@andy236726493
Copy link

andy236726493 commented May 11, 2022

阿里云DM驱动发送 出错

[ERROR] InvalidBody: The format of the specified textBody or htmlBody is invalid. RequestId: 18B6FBDC-97DE-5C3A-9B72-CD21D3043251 POST "https://dm.aliyuncs.com" 400[349] in /www/wwwroot/mail/vendor/alibabacloud/client/src/Request/Request.php

class OrderShipped extends Mailable
{
/**
* Create a new message instance.
*/
public function __construct( )
{

}
/**
 * Build the message.
 */
public function build()
{
    return $this->subject('订单提交成功')->htmlView('admin.email.order');

}

}

view 模板(‘admin.email.order‘) 验证过是正确的,html 100多个字

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant