theovier/zboard-server

Strato does not allow to modify the email sender

theovier opened this issue · 1 comments

500 Error Response when email should be sent.

Die verwendete Absenderadresse gehoert nicht zu Ihrem authentifizierten STRATO Paket. - You are not authorized to send mail from: <xxx@xxx.xxx>".",

public function build() {
        return $this
            ->from($this->comment->author->email, $this->comment->author->name)
            ->markdown('emails.posts.comments.received', [
                'comment' => $this->comment
            ]);
    }

needs to be changed to

public function build() {
        return $this
            ->markdown('emails.posts.comments.received', [
                'comment' => $this->comment
            ]);
    }