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

HTML emails #4

Open
titouan13 opened this issue Mar 16, 2015 · 3 comments
Open

HTML emails #4

titouan13 opened this issue Mar 16, 2015 · 3 comments

Comments

@titouan13
Copy link

Hi,

When I want to send html emails, I have to change line 130 in the file Mandrill/FOSUserBundleMailer.php.
I replace setText with setHtml

I know it is not very clean but I have to make it work. It happens because I override some FOSUB emails.

Is it possible to make it auto?

Thank you

@gdlin
Copy link

gdlin commented Aug 14, 2015

Hi, same here.

Why don't you make html emails default? or maybe add a setting.

thanks for your work anyways.

@rickpastoor
Copy link
Member

Wouldn't want to make HTML emails the default, because that would break the way this bundle works and might break people that are using it right now.

I would suggest keeping it the way it is right now, but add a setting which allows switching the format to HTML. Agreed? @gdlin would you have some time to submit a PR with this? I don't even have a running PHP environment here anymore :)

@mattvick
Copy link

mattvick commented Feb 8, 2016

I've created a pull request for this here: #5

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

4 participants