Page 1 of 1

Email From in 1.0.9.x

Posted: Thu Oct 31, 2024 5:35 pm
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.

Re: Email From in 1.0.9.x

Posted: Sat Nov 09, 2024 3:58 am
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

Re: Email From in 1.0.9.x

Posted: Sat Nov 09, 2024 7:33 am
by burt

Re: Email From in 1.0.9.x

Posted: Sat Nov 09, 2024 2:53 pm
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

Re: Email From in 1.0.9.x

Posted: Sun Nov 10, 2024 10:15 am
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.

Re: Email From in 1.0.9.x

Posted: Sun Nov 10, 2024 1:21 pm
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