Skip to content

[6.x] Fix setting mail header#32272

Merged
taylorotwell merged 1 commit into6.xfrom
fix-mail-headers
Apr 7, 2020
Merged

[6.x] Fix setting mail header#32272
taylorotwell merged 1 commit into6.xfrom
fix-mail-headers

Conversation

@driesvints
Copy link
Member

@driesvints driesvints commented Apr 7, 2020

Replaces #32271

@taylorotwell taylorotwell merged commit bf4b6d1 into 6.x Apr 7, 2020
@GrahamCampbell GrahamCampbell deleted the fix-mail-headers branch April 7, 2020 14:38
@ghost
Copy link

ghost commented Apr 7, 2020

Hi,
We've literally just found an issue with this PR, where if you add an attachment (ours was a calendar ics file) then the html email body is sent as raw html. When we downgraded from 6.18.4 to 6.18.3 this issue was resolved. Thought you would like to know. Here is a screengrab of what we were getting in 6.18.4

Screenshot 2020-04-07 at 19 20 19

Hope that helps;
The mail was run using the following command (filenames removed for security);
public function build() { return $this->view('xxxxxxxx')->attachData($this->ics, 'xxxxx.ics', ['mime' => "text/calendar"]); }

driesvints added a commit that referenced this pull request Apr 7, 2020
@driesvints
Copy link
Member Author

@bengallienne We're reverting this change. Thanks for notifying.

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

Successfully merging this pull request may close these issues.

2 participants