Mailgun
Forum Replies Created
-
@wmboy I’ve found the problem. Working on it.
Forum: Plugins
In reply to: [Mailgun for WordPress] There’s no changelog for 1.5.7@boybawang Not sure why the 1.5.7 changelog isn’t showing up on your side but it can be viewed here.
Forum: Plugins
In reply to: [Mailgun for WordPress] PHP Notice: Undefined index: override-from@bradt if you change the override from setting, save, and then change it back to what you really want it to be, does it still dump out that undefined index notice?
Forum: Plugins
In reply to: [Mailgun for WordPress] PHP Notice: Undefined index: override-from@bradt Thanks for reporting this! I’ll work up a fix to go in to the 1.5.7 release. Thanks!
Forum: Plugins
In reply to: [Mailgun for WordPress] Minor bug on version Version 1.5.6Hey @sofyansitorus, thanks! I’ll get this fixed asap 🙂
Forum: Plugins
In reply to: [Mailgun for WordPress] duplicated emails sentHi @sebian! What version of the Mailgun plugin are you using?
Forum: Plugins
In reply to: [Mailgun for WordPress] Sending multiple emailsFor others looking for the solution here – was resolved in the 1.5.7 beta which you can download here. 1.5.7 stable will likely be released soon. 🙂
Forum: Plugins
In reply to: [Mailgun for WordPress] Sending multiple emailsForum: Plugins
In reply to: [Mailgun for WordPress] Sending multiple emails@raisonon So I may have figured this out – let me push another change to the 1.5.7 beta.
Forum: Plugins
In reply to: [Mailgun for WordPress] Sending multiple emails@raisonon Are you using a plugin to try to send batch mails?
Forum: Plugins
In reply to: [Mailgun for WordPress] Email date/timestamp is in the futureOkay there has got to be a plugin that is converting a date wrongly, then… So based on that pattern here’s what I’ve got –
Depending on your location (and it looked like you were using the America/Chicago timezone in PHP), -0600 is the UTC offset for CDT, so there’s the 6 hours behind order time. Date is odd, but easy with that pattern. If using the typical US date format, you’ve got MM/DD/YY, but (if I recall correctly), other countries use DD/MM/YY. So that’s why each day is one month ahead.
Now, just to figure out what plugin is causing this. Best I can recommend is start disabling plugins one by one to see which is setting the
Dateheader incorrectly… I know it’s a slow and crummy way to do it, but it’s the best I’ve got. :\Forum: Plugins
In reply to: [Mailgun for WordPress] Email date/timestamp is in the futureThanks! Looking through it right now 🙂
Forum: Plugins
In reply to: [Mailgun for WordPress] Sending multiple emailsLooks correct, but you should be able to go without this code:
// mailgun multiple emails // https://wordpress.org/support/topic/sending-multiple-emails-2/#post-8614132 $rcpt_vars = array(); $idx = 0; foreach ($user_email_addresses as $user_addr) { $rcpt_vars[$user_addr] = array("batch_msg_id" => $idx); /* $rcpt_vars[$user_addr] = array( "batch_msg_id" => $idx, "email" => $user_addr); */ $idx++; } $rcpt_vars_json = json_encode($rcpt_vars); // headers $headers = "X-Mailgun-Variables: ${rcpt_vars_json}" . "\r\n";Also, the error is because I made a small typo.. Could you try again with the same link?
Forum: Plugins
In reply to: [Mailgun for WordPress] Sending multiple emailsHey @raisonon! It’s a long shot, but could you try this beta-ish version for the batch mailing?
Batch mailing with the beta is like this:
add_filter('mg_use_recipient_vars_syntax', 'mg_true'); function mg_true() { return true; }); wp_mail($to, $subject, $message, null, null); remove_filter('mg_use_recipient_vars_syntax', 'mg_true');I think this should work because it will set the
Toaddress *after* the initial call to the built-inwp_mailfilters, which is likely what is causing batch messages with%recipient%as theToaddress to not get submitted. Please let me know if this ends up working 🙂- This reply was modified 9 years, 7 months ago by Mailgun.