Mailgun
Forum Replies Created
-
Forum: Plugins
In reply to: [Mailgun for WordPress] HTML rendered as plaintext in some emails@raisonon Glad to hear that fixes it! 🙂
Forum: Plugins
In reply to: [Mailgun for WordPress] Sending multiple emailsHey @raisonon, the best way to do this would be to provide all of the addresses in the
Tofield, but also provide recipient variables through the headers field.So, I think the best way to do this would be to keep a count and assign each of the recipients an “id” that you don’t even necessarily have to use.
Example:
$rcpt_vars = array(); $idx = 0; foreach ($user_email_addresses as $user_addr) { $rcpt_vars[$user_addr] = array("batch_msg_id" => $idx); $idx++; } $rcpt_vars_json = json_encode($rcpt_vars); wp_mail($user_email_addresses, $subject, $message, array( "X-Mailgun-Variables: ${rcpt_vars_json}" ));See also: Sending Batch Messages
Hope this helps! 🙂
Forum: Plugins
In reply to: [Mailgun for WordPress] HTML rendered as plaintext in some emailsHi @raisonon and @lavishdhand — which version of the plugin are you using?
Forum: Reviews
In reply to: [Mailgun for WordPress] The plugin stop working in the last versionWith the 1.5.5 version, there was a change that was incompatible with PHP versions older than 5.5. I have fixed this in the 1.5.6 release, but I must also recommend that you upgrade your PHP version to at least 5.5.38 (old stable), although 5.6 or even 7.0 would be preferred, if possible. Older PHP versions may have security vulnerabilities and other incompatibilities with other software, which can cause big problems.
I hope the 1.5.6 release fixes your issue!
Forum: Plugins
In reply to: [Mailgun for WordPress] Latest update broke the dashboardI am pushing the 1.5.6 release today – right now, actually. Should be out momentarily 🙂
Hello! I’m pushing the 1.5.6 release today. It should be going out very shortly 🙂
Forum: Plugins
In reply to: [Mailgun for WordPress] Latest update broke the dashboardHi there, @lavishdhand, I’m planning on pushing the 1.5.6 release tomorrow! Thanks for trying it out.
As far as I have this, this issue only occurs on older PHP versions — I highly recommend that you upgrade to at least PHP 5.5.38 (old stable), if possible.
Forum: Plugins
In reply to: [Mailgun for WordPress] Email date/timestamp is in the futureWhat is your PHP version? Also, what other WordPress plugins do you have installed? What about PHP extensions?
Forum: Plugins
In reply to: [Mailgun for WordPress] Email date/timestamp is in the futureHi @shornber!
I’m not very sure what would cause this — is there any chance your system clock is set incorrectly?
Hi all, I think I’ve fixed the issue! Please try this beta release and let me know how it turns out!
Thanks!
No worries 🙂 Glad the PHP update fixed things for you.
@maguijo Are you able to update your PHP version to at least 5.5?
Hi all, can anyone that has experienced this issue with an older version of PHP provide the snippet from the PHP or WordPress error logs?
Hey there! I do strongly recommend upgrading to at least PHP 5.5. I can confirm that upgrading to a new PHP version will solve the problem, but I will try to track down the issue today and get a bugfix release out.