Page 1 of 1

Mailer doesn't set "From" address in emails

Posted: Sun May 08, 2016 11:59 pm
by severtki
On v2.1.3, looking at Global Settings / Mail Settings, I have the following settings:
mailer: mail
from address: root@localhost.localdomain
from Name: admin

When I click "Test" to send a test email, the email arrives without a "From" address set, which looks to my spam filter as junk. Should the mail be setting a proper "From" address to lessen the possibility of identification as spam? Or is there something I'm doing wrong?

I've set the CGBlog module to send notifications upon a new blog submission, but I'm not getting those messages due to this missing "From" field.

Thanks for any ideas!
Kirk

Re: Mailer doesn't set "From" address in emails

Posted: Mon May 09, 2016 8:13 am
by velden
Seems not a CMSMS problem. Just tested:

Code: Select all

To: [removed]@gmail.com
Subject: CMSMS Mail Test message
Date: Mon, 9 May 2016 10:01:22 +0200
From: CMS Administrator <root@localhost.localdomain>
Message-ID: <31061a72cf1218cac64b742daa5f85c0@temp.[removed].nl>
X-Mailer: PHPMailer 5.2.14 (https://github.com/PHPMailer/PHPMailer)
MIME-Version: 1.0
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit
Note that in general it seems like a bad idea to use 'root@localhost.localdomain' as the from address. Please try using a email address that really exists on that server/domain.

SOLVED: Mailer doesn't set "From" address in emails

Posted: Mon May 09, 2016 11:26 am
by severtki
Ah -- that did work. I somehow thought the "From address" had to be "root@localhost.localdomain" in order for the mailer to work.

Thanks, Velden!

Kirk