Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Mailgun Mailer] fixed issue when using html body #32131

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

Merged
merged 1 commit into from
Jun 26, 2019

Conversation

alOneh
Copy link
Contributor

@alOneh alOneh commented Jun 21, 2019

Q A
Branch? 3.4
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

I tested the symfony/mailgun-mailer and get an issue when using the api scheme with a templated email cause we try to manipulate a stream whereas the Symfony\Component\Mime\Email::getHtmlBody() could return also a string (in my case it is one).

The issue :

stream_get_meta_data() expects parameter 1 to be resource, string given

@alOneh alOneh force-pushed the fix/mailgun-api-scheme-html-body-issue branch from 0ad6709 to 4f766ba Compare June 21, 2019 12:00
@alOneh alOneh force-pushed the fix/mailgun-api-scheme-html-body-issue branch from 4f766ba to 9f7ecc5 Compare June 22, 2019 11:18
@alOneh alOneh changed the base branch from 4.4 to 4.3 June 22, 2019 11:20
@nicolas-grekas nicolas-grekas added this to the 4.3 milestone Jun 23, 2019
@alOneh alOneh force-pushed the fix/mailgun-api-scheme-html-body-issue branch from 9f7ecc5 to 5084d3a Compare June 24, 2019 13:48
@alOneh alOneh force-pushed the fix/mailgun-api-scheme-html-body-issue branch from 5084d3a to afbefe1 Compare June 24, 2019 14:09
@fabpot
Copy link
Member

fabpot commented Jun 26, 2019

Thank you @alOneh.

@fabpot fabpot merged commit afbefe1 into symfony:4.3 Jun 26, 2019
fabpot added a commit that referenced this pull request Jun 26, 2019
This PR was merged into the 4.3 branch.

Discussion
----------

[Mailgun Mailer] fixed issue when using html body

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

I tested the `symfony/mailgun-mailer` and get an issue when using the `api` scheme with a templated email cause we try to manipulate a stream whereas the `Symfony\Component\Mime\Email::getHtmlBody()` could return also a string (in my case it is one).

The issue :

```
stream_get_meta_data() expects parameter 1 to be resource, string given
```

Commits
-------

afbefe1 [Mailgun Mailer] fixed issue when using html body
@fabpot fabpot mentioned this pull request Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.