Skip to content

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

Description

@andy236726493

阿里云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多个字

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions