Email From in 1.0.9.x

Open to all! Ask other shopowners for help.
Post Reply
User avatar
zipurman
Builder
Posts: 540
Joined: Tue Oct 13, 2020 5:20 pm
Phoenix Version: v
Has thanked: 93 times
Been thanked: 162 times

Email From in 1.0.9.x

Post by zipurman »

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.
zipurman
-----------


Join The Code Co-op to get access to your library in the Code Co-op Forum
HVACman
Member
Posts: 6
Joined: Tue Apr 27, 2021 2:57 pm
Phoenix Version:

Re: Email From in 1.0.9.x

Post by HVACman »

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
User avatar
burt
Core Team
Posts: 4550
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Email From in 1.0.9.x

Post by burt »

I am not here to build for you.
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

Post by Dan Cole »

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
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

Post by ecartz »

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.
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

Post by Dan Cole »

I suspect that the mailer may have changed.
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.

Dan


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply