Glad to see the new Email options.
When setting Email From: test@test.com
The email address is all that is displayed in the inbox, no company name.
I can set the Email From: Company Name <test@test.com> to solve this, not sure if this is what was intended?
Adding STORE_OWNER to the logic in email.php or adding an "Email From Name:" in email settings would make it easier.
I also had to set the Line Endings to CRLF to get the "Company Name <test@test.com>" to work.
Just in case anyone else is having trouble.
Email From in 1.0.9.x
Re: Email From in 1.0.9.x
Nice to see a this topic, but, I could not find where to set the email_from, it's not in my store setting, not in the administrator, can any one tell me where do I go to get this email set correctly? Thanks. John
- burt
- Core Team
- Posts: 4546
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Email From in 1.0.9.x
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
-
Dan Cole
- Senior Contributor
- Posts: 498
- Joined: Fri Oct 25, 2019 2:14 pm
- Phoenix Version: 1.0.8.21
- Has thanked: 67 times
- Been thanked: 61 times
Re: Email From in 1.0.9.x
Gary is this correct? I seem to remember having to set my Line Feeds to CRLF on a Linux server as well. I think it might have changed when PHP8 came along.
Dan
Dan
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: Email From in 1.0.9.x
There's no real right answer on linefeeds. CRLF has always been the standard in emails. However, on unix servers, LF is the linefeed in shell, so the mailers would convert LF input to CRLF. The qmail mailer would do this stupidly, converting CRLF to CRCRLF. Therefore, the advice has been to use LF on those servers so that it would come out to CRLF.
I don't think it's a PHP level thing. I suspect that the mailer may have changed.
I don't think it's a PHP level thing. I suspect that the mailer may have changed.
-
Dan Cole
- Senior Contributor
- Posts: 498
- Joined: Fri Oct 25, 2019 2:14 pm
- Phoenix Version: 1.0.8.21
- Has thanked: 67 times
- Been thanked: 61 times
Re: Email From in 1.0.9.x
The site I'm developing is hosted on a different server so it is certainly possible. I really have no idea. All I know for sure is I needed to set it to CRLF when LF used to work in the past.I suspect that the mailer may have changed.
Dan