I am trying to get our form to use the actual name that is typed into the user names fields: First-name and last-name. When the email is sent, this is being replaced by “wordpress”.
Here is what we have in the From field: [first-name][last-name][email]
The reason this is important is that we use vtiger as a support tool. The emails automatically create a ticket in the system, but the tickets all end up under the user “WordPress” instead of the actual user name. They way it is supposed to work is that if the name exists, it creates a ticket under that name, and if it does not, it creates a new contact, and then the ticket under that contact.
The page I need help with: [log in to see the link]
I don’t know about vtiger, but one thing I notice:
As I understand it, the recipient’s email address should not be used in the “From” field. Instead, add it to the “Additional Headers” field, as such:
Reply-To: [email]
The form is submitted FROM your website, so the FROM email address should be associated with your website ([email protected] is a typical email address for this purpose) for authentication purposes — that’s just how CF7 works.
I think you can continue to use [first-name] [last-name] to identify the sender’s name in the from field, but their email address should go in the “Additional Headers” field, not the “From” field.
Perhaps you could also set the “Additional Headers” field to:
Thanks for the reply. I am sure your suggestions will help me to adhere to CF7 best practices, but they don’t solve my issue. I need to get the From info of the email sent to be the user name and user email. If I set it to “Me” it will put the ticket in Vtiger under a contact name = my name.