I am trying to change the email post for notifications are sending FROM. I have already update the setting in the post form notification but that only adds a "REPLY TO" email I need to change the "FROM" email. I have also updated the email address in the general settings. I need to do this as it was sending to/from the same email and Google Workspace is not allowing the notifications through. All other email functions on the site (Woo, Gravity Forms) were successfully received after changing the from email and general settings email. Toolset is still working since it is sending from the other email
Is there any documentation that you are following?
I cannot find any documentation that addresses this.
Is there a similar example that we can see?
Don't know.
What is the link to your site?
You already have this?
Here's a video showing you what is going on: hidden link
So the question is:
How do I change the email post form notifications are sent FROM?
But where is Toolset getting the email address to send from to begin with? Would make more sense to change that than to add more custom code. I modified the code as below since there is both a create post form and an edit post form. Note that the way the id's are gathered and the if statement has already been tested in other code and works. I use the same way of id'ing the forms to add validation to a text field that is in both forms.
Emails are still being sent from hello@ instead of directory@
// change form email
function ied_change_cred_form_email( $headers, $formid, $postid, $notification_name, $notification_number ) {
$form_ids = array(258,346);
if ( in_array($form_data['id'], $form_ids)) {
Can you please share problem URL Where I can see the form as well as admin access details.
Please share forntend user access details as well if I require to login as frontend user to access the form.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
Hi, This was actually a conflict with another module. There was no need for custom code to be used. Setting the reply in the cred form settings worked fine once I disabled the other module.