Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

Emails are coming from wordpress@...com I don't want that. Where do I change it?

5 Posts
3 Users
1 Reactions
4,973 Views
(@chazzzzy)
Eminent Member
Joined: 10 years ago
Posts: 22
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
  [#393]

Hi,

How can I change what the email address that email notifications are coming from? They are coming from wordpress@ourdomain.com, but I want them to come from a specific email address.

Thanks!

Charles



   
Quote
 Tom
(@tomson)
Famed Member Admin
Joined: 11 years ago
Posts: 4245
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

This is not wpDiscuz issue. wpDiscuz use WordPress default "from" email address. WordPress comes with wordpress@example.com default email. you should configure it using WordPress hooks. Put this code in active theme functions.php file:

function res_fromemail($email) {
$wpfrom = 'example@example.com'; return $wpfrom;
}
function res_fromname($email){
$wpfrom = get_option('blogname');return $wpfrom;
}
add_filter('wp_mail_from', 'res_fromemail');
add_filter('wp_mail_from_name', 'res_fromname');

Don't forget to change example@example.com to your specific address.



   
Della reacted
ReplyQuote
(@chazzzzy)
Eminent Member
Joined: 10 years ago
Posts: 22
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Oh.. wait a minute.. I just figured out what was happening!!  It's NOT your email notification.. it's the WORDPRESS notification when you receive a comment ON YOUR POST.

SOOO  sorry about the confusion!  WPDisquz is doing what it's supposed to do PERFECTLY!

 



   
ReplyQuote
 Tom
(@tomson)
Famed Member Admin
Joined: 11 years ago
Posts: 4245
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

No problem, thank you for letting us know.



   
ReplyQuote
(@della)
Eminent Member
Joined: 9 years ago
Posts: 43
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Tom,

This code look like it will come in handy very soon!!!



   
ReplyQuote
Share:
Scroll to top