All form results are from Root User <root@localhost>

emills01 10 Jun, 2014
I've got a form set up and working OK but all form results come through as from Root User <root@localhost>.

I want the from name and email address (reply to address I guess?) to be taken from the form submission.When I go to the form and go to Setup then Email > Advanced I see where to enter the values for dynamic from name and dynamic from email, but even when I fill those fields with the values from the form (which are just named "Name" and "Email") it makes no difference; it's always only from Root User.

I also see that there are TWO Email tabs that look identical except one says Email 0 and the next is Email 1. I tried entering the appropriate values for dynamic from name and dynamic from email in BOTH but it just never makes a difference.

So I'm confused as to what I'm doing wrong and would appreciate any direction. Maybe I'm using the wrong fields; I'm not sure.
Max_admin 27 Jun, 2014
Please try the static fields, named just "from name" and "from email", also please turn on the debug to check the info of the sent email!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 28 Jun, 2014
Hi emills01,

I strongly recommend that you do *not* use the Dynamic From Email element in your Email Setups. Using this often results in your emails being marked as spam and dropped into a spam filter. Instead use the static From Email with an address that matches the site domain name and use Dynamic ReplyTo Email for the user email. The result is the same but with a much better chance of good delivery.

Bob
Umbrella 26 Feb, 2015
Okay, this is the closest post I can find to an issue we are continually seeing.

We have emails sent to admins when a user fills out the form. The dynamic reply to name has the field name in it - "name". (Ignore quotes, we don't use brackets or anything.) This field is required on the form so the users can't submit without entering it.

Sometimes the email displays the reply to correctly with the field value of whatever is entered in "name", sometimes it says "Root User" but still shows the correct "name" value in the body of the email and stores it correctly in the database.

Any ideas? I have an HR department with a very low tolerance for anomalies... ;-)
GreyHead 27 Feb, 2015
Hi Umbrella,

No real idea why this would vary - I'd guess that sometimes there is no name set, or possibly no From Name. The Reply To Name is fairly straightforward.

Is there any clue if you look in the database to see where this error is occurring?

Bob
Umbrella 27 Feb, 2015
All the fields are being placed in the database on submit and show up in the admin email. I can give you a login if you like.

Here's a link:

https://www.fsgctopeka.com/pre-registration-form

I can send you screenshots of whatever you like, too. Appreciate your help.
GreyHead 27 Feb, 2015
Hi Umbrella,

I don't see anything amiss in the front-end. By all means email or PM me the site URL, the form name, and a SuperAdmin login and I'll take a quick look.

Bob
Umbrella 27 Feb, 2015
Thanks, I PM'd you the login.
GreyHead 28 Feb, 2015
Hi Umbrella,

Looking at the Preregistration form you are using parentemail as the dynamic From Email and dynamic ReplyTo Email. BUT this is not a required input so may not always be set - see e.g. record id 33.

You should either set this as required - but that may not be realistic; or use this as the dynamic ReplyTo *only if* it is set (and ditto for the name.

Do not use it for the From Email at all. Use info@mysite.com or something like that. You will get the Root message when you send an email and no From Email address is set.

Bob
Umbrella 13 Mar, 2015
Still having this problem - some form emails come thru as from "Root User" and others show the correct from name. Both are showing the field filled in correctly and stored in the database, but the email still shows "Root User" on some and not others.

This is happening on 2 different sites, both Chrono 5.

Any suggestions?
GreyHead 14 Mar, 2015
Hi Umbrella,

How is your Email set up now? I would expect to see Root User show if there is no From Name/From Email set.

Bob
Umbrella 16 Mar, 2015
We don't use From Name or From Email since we need them to be dynamic. Are you saying we need both?
GreyHead 16 Mar, 2015
Hi Umbrella,

You need to check that they are present if you are going to use them.

Bob

I strongly recommend that you do *not* use the Dynamic From Email element in your Email Setups. Using this often results in your emails being marked as spam and dropped into a spam filter. Instead use the static From Email with an address that matches the site domain name and use Dynamic ReplyTo Email for the user email. The result is the same but with a much better chance of good delivery.
Umbrella 16 Mar, 2015
Bob,

We are using dynamic fields only for the Admin notification email - these are not dumped in spam or junk folders, but they don't always show the person's name as the reply to name even when the submitter enters their name. That is our issue. We want the email to the Admin to have the submitter's name as the reply to name and the submitter's email address as the reply to email. Make sense?
GreyHead 17 Mar, 2015
Hi Umbrella,

I'm still see the most likely explanation is that there is no value set in those fields when the email is sent. That would have the result you are seeing.

Bob
Umbrella 17 Mar, 2015
That was our thought originally, too, but in nearly all cases the name and email were filled out - they appear in the body of the email and they are also stored in the database.

Something is causing the email to report the Reply to name as Root User, but we can't figure out how it happens.
GreyHead 17 Mar, 2015
Hi Umbrella,

I'm out of ideas at the moment. By all means email or PM me the site URL, the form name, and a SuperAdmin login and I'll take a quick look and see if I can see anything.

Bob
Umbrella 17 Mar, 2015
Bob,

Thank you for your kind offer. Let me get some stuff squared away so I can focus on this again and I'll PM you a login, etc.

This is definitely a weird one.
This topic is locked and no more replies can be posted.