leandrolsguedes
asked 10 years ago

When DWQA send the e-mail notifying about a new question or about an answer, the “From” field takes the name of the account on the server. I would like to put the name of the website, or any other thing. Is that possible?

1 Answers
DominicStaff
answered 10 years ago

Hello Leandrlsguedes,
Currently, we use the default WordPress email to support this notification system. We have not made any custom field for it yet, that’s why there is no option to edit the Form field yet.
We will discuss this issue in the next version.

leandrolsguedes
replied 10 years ago

Thank you so much! I’ll try to solve this via some other plugin for a while. And I’ll be waiting for a future update with that πŸ˜‰
Thank you and congratulations for the nice work!

Leonardo Teleanu
replied 10 years ago

Try this

Open you theme functions.php and put the following code (you must change “your email address” & ” your name or your website”

/** changing default wordpres email settings */

add_filter(‘wp_mail_from’, ‘new_mail_from’);
add_filter(‘wp_mail_from_name’, ‘new_mail_from_name’);

function new_mail_from($old) {
return ‘your email address’;
}
function new_mail_from_name($old) {
return ‘your name or your website’;
}

Leonardo Teleanu
replied 10 years ago

PS. Use a valid email address.

Dominic Staff
replied 10 years ago

Thanks for your help πŸ™‚

Gisela Bravo
replied 10 years ago

Doesn’t work for me, another solution?

Powered by DW Question & Answer Pro