-
AuthorReplies
-
You must have valid license to access this content.You must have valid license to access this content.You must have valid license to access this content.You must have valid license to access this content.You must have valid license to access this content.
MillaN
KeymasterGreat to hear it. I will include this as an option with next release. As for the recipient name, that is not possible right now, but I will see if there is something that can be done. I plan major 4.0 version to be released in the next 2-3 months, and I will see about that option too.
Milan
MillaN
KeymasterIf you have cache plugin, that is the problem than, NONCE protection field gets cached with the page, and in some cases when verified it has already expired. And email doesn’t get sent. You can try to disable this protection method and see what happens. Just delete one line. Find file ‘ajax.php’ in plugins ‘code’ directory. Find line 69 that should look like this:
check_ajax_referer('simple-contact-slider', '_nonce');
Remove this line. If the sending problems stop after this, I will add new option for plugin to disable this protection method.
Milan
MillaN
KeymasterDo you use some form of cache that I can’t see directly? One more thing can cause failed emails: plugin embeds protection NONCE field that is submitted through AJAX for verification purposes. But this field value expires after a while, and each time plugin renders for generates new value. But, if some form of cache is used, it can happen that some users see old form with NONCE that is invalid due to cache expiration and when NONCE is not verified, submitting email fails.
Milan
MillaN
KeymasterHi,
Plugin is not sending emails on it’s own, so I would not know what to change. All emails are sent through wp_mail function, and handled by WordPress. Message about sending problem is generated based on the result of wp_mail function, and if it returns false, error message is displayed.
From what I can see, you don’t use cache plugins (like W3 Total Cache, or similar), so the content on page is always OK. Also, sending is not related to browser, it is done from server side. To process it plugin relies on WordPress own ajax handler, and that is usually not cached.
You need to determine why exactly email sending fails (some sort of logging for wp_mail function), but I don’t see how it can be related to my plugin, since it is not doing anything except calling wp_mail function.
Regards,
MilanYou must have valid license to access this content.You must have valid license to access this content.You must have valid license to access this content.You must have valid license to access this content.MillaN
KeymasterIf you don’t have mail server running on localhost, there is nothing to deliver emails.
Milan
MillaN
KeymasterWell, it might sound simple, but it is not. I don’t have such code, and it would require a lot of changes to plugin to implement it.
Milan
-
AuthorReplies