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

How to Change the "From email" Address, so that this plugin can be used with WP SES?

6 Posts
2 Users
0 Reactions
2,863 Views
Posts: 3
Customer
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
(@sven-jasper)
Member
Joined: 6 years ago
[#6553]

I am Unable to send any emails using WP Offload SES via the WP Discuz PLugin, Regarding users being mentioned in the comment.

Upon investigation I found that the Sender address is "no-reply@{domain}.com".

 

How Can I Set my own Email Address so that the emails can start sending out?

Is there a field in the configuration or can I use a hook/function to change the value?

 


5 Replies
Elvina
Posts: 1403
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
(@elvina)
Support
Joined: 7 years ago

Hi @sven-jasper,

Is there a field in the configuration or can I use a hook/function to change the value?

This code should help you. Add the code in your current active theme's functions.php file: 

add_filter('wp_mail_from', function ($email){
return 'no-reply@blogname.com';
});

Don't forget to change the red marked code (set the right email) before using. 


Reply
4 Replies
Customer
(@sven-jasper)
Joined: 6 years ago

Member
Posts: 3
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

Will This hook affect all the other plugins "Sender Address"?


Reply
Elvina
(@elvina)
Joined: 7 years ago

Support
Posts: 1403
Elvina
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

@sven-jasper,

Will This hook affect all the other plugins "Sender Address"?

Yes.


Reply
Customer
(@sven-jasper)
Joined: 6 years ago

Member
Posts: 3
Elvina
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

@elvina In That Case, Could you please provide a way that only Affects the WPDiscuz Plugin?

We would prefer if the other plugins do not have conflicts.

Thank you


Reply
Elvina
(@elvina)
Joined: 7 years ago

Support
Posts: 1403
Elvina
Elvina
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

@sven-jasper,

In That Case, Could you please provide a way that only Affects the WPDiscuz Plugin?

We're really sorry but there is no way to do that.


Reply
Share:
Scroll to top