Forums

[SOLVED] From and name of email address

kai920 07 Apr, 2008
Greetings,

I had the From/Name email address in my form set to Admin/admin@no-reply.com and this was showing up in my emails correctly.

However I changed the address to [email]info@mydomain.com[/email] and now it doesn't work. The email to the submitter and me shows my actual host's account name, something like [email]mydomain@bluehost.com[/email].

I am using Google to handle all my emails. I tried creating the address [email]info@mydomain.com[/email] in my host's cpanel as well.

What am I doing wrong?<br><br>Post edited by: kai920, at: 2008/04/10 11:18
GreyHead 07 Apr, 2008
Hi kai920,

Hard to tell. Is it possible that your host is changing it somehow?

Check the default mail settings for your site (in Global Configuration) - maybe that is being picked up?

Bob
kai920 07 Apr, 2008
Hi Bob,

The address I have under Global Config is [email]admin@mydomain.com[/email].

I would like to set up an email address in the form, which submitters can actually reply to after submission.
Max_admin 08 Apr, 2008
Hi Kai,

yeah sometimes the from email doesn't work fine when its at your domain, did you try to put the from email as yourname@gmail or whatever, it just needs some testing!

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
kai920 08 Apr, 2008
Hey guys, I found this bit of information from my host. I thought my account was already created and valid, but I'll try again.

Problem
Why do e-mails from my webpage come from < username > @ < box > .bluehost.com when I have specified otherwise?

Solution
This is because our servers require you (or your script) to use a properly formatted, valid From: header in your email. If the From: header is not formatted correctly, empty or invalid our system will change the from address to be <username>@<box>.bluehost.com. To stop this, you must change the script you are using to correctly use a valid From header.

Examples of headers that should work would be:
From: [email]user@domain.com[/email]
From: <user@domain.com>
From: "name" <user@domain.com>

Examples of headers that will NOT work:
From: "user@domain.com"
From: user @ domain.com

Alternative for PHP Users:
- You can also modify which account should be used when sending out using the mail() function. Inside the local php.ini file, you will find a line of code that looks something like this (around line 601):

sendmail_from = [email]mail@yourdomain.com[/email]

Be sure to uncomment this by deleting the ';' before the directive. Also, the account you use must be a valid created account.
Max_admin 08 Apr, 2008
Hi Kai,

I cant understand if you got this solved yet or not but what happens if you try to use the original entries you had, like [email]admin@no-reply.com[/email] ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
kai920 08 Apr, 2008
Hi Max,

I haven't had a chance to try the helpdesk suggestion, but as mentioned in my first post, if I setup the form to use the name Admin and the "from email" as [email]admin@no-reply.com[/email], this will actually show up in the From: fields.

Strange right?!
Max_admin 08 Apr, 2008
Yes, because both the emails follow the rule provided by your host, so both should work, try to email them the real emails and get their answers and let us know, this issue is really different based on how the mail server is configured at your host!🙂

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
kai920 08 Apr, 2008
OK, let me open up a helpdesk ticket with them and see what they say🙂
kai920 09 Apr, 2008
They replied and said they can fix it for me. Didn't give an exact reason though.
kai920 10 Apr, 2008
Hi,

Just a final update - the host fixed this for me by changing a setting in a local php.ini file.
Max_admin 11 Apr, 2008
Hi Kai,

If you can ask them which setting they changed and post it here then this will be very great!

Thank you!

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
kai920 11 Apr, 2008
They said this:

"I have gone in your php.ini file and changed the sendmail_from = [email]me@localhost.com[/email] to sendmail_from = [email]email@mydomain.com[/email]."
Max_admin 11 Apr, 2008
Thanks Kai!

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.