Themes

By default, you send your WordPress website emails as wordpress@domain.com and WordPress as the default sender (From) name. That is not always as desirable. For example, your mail can be blocked and considered spam. Do you notice that your mail will not arrive regularly and will you receive complaints? The instructions below can help you ensure that your mail is not blocked by spam checks.

Change default WordPress email address

The standard WordPress e-mail address can easily be changed with a small piece of code. You place the code in functions.php in your theme directory

Extra: Send email by default as HTML in WordPress

By default, all mail in WordPress is sent as plain text. The default email content type is text / plain. If you want to send your emails as HTML, you can customize the content type for all mails. You also do that with a simple filter that you adds to your theme functions.php.