-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backup email notification from address is webhost address rather than site address #151
Comments
That's not correct. The email is sent to the address configured for your site at That address can be customized in the Advanced Options at Closing, as it works as designed. If you find this is not the case, reopen and please provide details. |
It is not an issue with the "To" address but the "From" address. When the Contact form is used it shows the "From" address correctly as the one specified in |
Got it. I'll check this later. Reopening. |
I took a look to see if I could figure this out. But, unfortunately I could not. I looked at the core contact module that sends contact email using the site_mail address as the from address and at line 247 of contact.module implements hook_mail. And I looked at the backup_migrate module that sends email using the webhost address, similar to what a cron script does. In backup_migrate.module on line 1886 hook_mail is invoked. But, I can't figure out how the site_mail can be added to the $params. |
I see drupal's backup_migrate using the following syntax: But, I have no idea what Backdrop needs. |
OK, I've looked into this a bit. The line of code you pasted above has nothing to do with the notification email. That line is part of a function that is used when emailing the actual backup zip file - not for notifications. In order for the notification to use the site's email address, we need to avoid using the php function I'll get to this at some point... |
That sounds like a pretty serious bug. Sending email TO the FROM address? This is usually set to edit: see #159 |
@jenlampton It is not sending email TO the FROM address? It is sending from the webhost default address not from the site default address. This can be confusing if there are multiple sites on the same webhost. |
As in the title, the email notification of backup from address is the webhost address rather than the web site address. Is there a way to configure this or can it default to using the site email address?
The text was updated successfully, but these errors were encountered: