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

From Address is not applied when mail is sent #51788

Closed
lanh-nguyen-vs opened this issue Jun 13, 2024 · 1 comment
Closed

From Address is not applied when mail is sent #51788

lanh-nguyen-vs opened this issue Jun 13, 2024 · 1 comment

Comments

@lanh-nguyen-vs
Copy link

lanh-nguyen-vs commented Jun 13, 2024

Laravel Version

11.9

PHP Version

8.3.7

Database Driver & Version

Mysql 8.0

Description

`
public function envelope(): Envelope
{

    return new Envelope(

        from: new Address(address: 'jeffrey@example.com', name: 'Jeffrey Way'),

    );

}

`
From name is shown, but From Address is not shown when mail is sent, it just show address by use MAIL_USERNAME in env file .

Steps To Reproduce

I want to send mail from different address. I changed in this code but it doesn't apply
`
public function envelope(): Envelope

{

    return new Envelope(

        from: new Address(address: 'jeffrey@example.com', name: 'Jeffrey Way'),

    );

}

`

@crynobone
Copy link
Member

Hey there,

While this may be a legitimate issue, can you first try posting your problem or question on one of the support channels below? If this issue can be definitively identified as a bug, feel free to open up a new issue with a link to the original one and we'll gladly help you out.

Thanks!

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

2 participants