Risolto il problema delle Mail!

Adesso mi arrivano e notifiche dei commenti per cui non temete che verranno moderati più celermente!!!
Il problema era nella funzione wp_mail. Ho trovato questa nel forum dedicato a wordpress e sostituendola all’originale ha funzionato:
function wp_mail($to, $subject, $message, $headers = ”, $more = ”) {
if( $headers == ” ) {
$from = “From: \”". get_settings(’blogname’) .”\” < ". get_settings('admin_email') .">“;
$headers = “MIME-Version: 1.0\n” . $from . “\n”.”Content-Type: text/plain; charset=\”" . get_settings(’blog_charset’) . “\”\n”;
}
mail($to, $subject, $message, $headers);
}

This entry was posted in Generale, Tecnico. Bookmark the permalink. Trackbacks are closed, but you can post a comment.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>