Skip to content
This repository has been archived by the owner on Dec 22, 2019. It is now read-only.

Allow raw message to have separate html/text parts #157

Merged
merged 1 commit into from
Oct 16, 2019

Conversation

markokeeffe
Copy link

Our system requires using the Mailgun::raw() method for sending, but we also require using the separate html and text parts.

This change allows passing an array in the same fashion as Mailgun::send() i.e. Mailgun::raw(['html' => $htmlContent, 'text' => $textContent], function() { ... }).

This change maintains backward compatibility with passing a raw string as always: Mailgun::raw($htmlContent, function() { ... }).

@markokeeffe
Copy link
Author

Anyone think this should be merged? PR has been open for a few months now

@Bogardo Bogardo merged commit 86aca9f into Bogardo:master Oct 16, 2019
@markokeeffe markokeeffe deleted the raw-message-split branch December 5, 2019 02:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants