WebSite X5Help Center

 
Zlatin Georgiev
Zlatin Georgiev
User

Mailtoowner Function With Differing from and to Parameters  en

Author: Zlatin Georgiev
Visited 748, Followers 1, Shared 0  

I would like to set different values for the parameters '$from' and '$to' when calling the mailToOwner Function because in the 'imemail\imEmailForm.php' file of my site both parameters have the same value (in the mailToOwner Function which is declared in res\x5engine.php).

I would like to know how I may change the above from WebSite X5 so I don't have to manually make the changes after each export.

My website URL is https://www.victorgrant.org/

Thank you in advance! If you'd require any further explanation I would be glad to provide it.

Posted on the
2 ANSWERS
Aleksej H.
Aleksej H.
Moderator

Hello. I sent a notification about your question to the company employees, expect an answer from them here in the comments.

Read more
Posted on the from Aleksej H.
Incomedia
Stefano G.
Incomedia

Hello Zlatin

This change has been performed in the software to avoid certain mail issues that would often pop out due to how the email forms were configured.

As of now, both fields will contain the same email, but the email will be generated with a Reply-To tag featuring the correct email to allow the user to respond correctly

If you wish to change this directly in the files right now, you will have to do that manually in the generated files, keeping in mind that they might get overwritten next time you upload

As of now, this is to be considered correct

I remain available here

Thank you

Stefano

Read more
Posted on the from Stefano G.