Email From in 1.0.9.x

Ask the community for help with CE Phoenix Cart.
Post Reply
User avatar
zipurman
PhoenixCart Developer
PhoenixCart Developer
Posts: 529
Joined: Tue Oct 13, 2020 5:20 pm
Has thanked: 92 times
Been thanked: 151 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
aka Preston Lord
-----------
Happy to help where I can ;)

https://phoenixaddons.com
https://www.youtube.com/zipurman/ ** PHOENIX HOW-TO VIDEOS **
Image
HVACman
Posts: 6
Joined: Tue Apr 27, 2021 2:57 pm

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
burt
Lead Developer
Lead Developer
Posts: 2844
Joined: Tue Oct 29, 2019 9:37 am
Has thanked: 52 times
Been thanked: 162 times

Re: Email From in 1.0.9.x

Post by burt »

Current Beer Fund: £1.11
Beer me, if you like.

#wearephoenix #wearecommunity
Dan Cole
VIP Member
VIP Member
Posts: 279
Joined: Fri Oct 25, 2019 2:14 pm
Has thanked: 26 times
Been thanked: 14 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
Lead Developer
Lead Developer
Posts: 2779
Joined: Tue Nov 05, 2019 6:02 pm
Has thanked: 4 times
Been thanked: 187 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
VIP Member
VIP Member
Posts: 279
Joined: Fri Oct 25, 2019 2:14 pm
Has thanked: 26 times
Been thanked: 14 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
Post Reply