J3 Issue ?
avatar drTr0jan
drTr0jan
11 Jan 2018

Steps to reproduce the issue

There's a hack in libraries/src/Mail/Mail.php:742:
If the replyTo field doesn't exist use third param in Mail::setSender().
The third param in Mail::setSender() (inherited from PHPMailer::setFrom()) had used for replyTo functional initially. But this functional has been cleaned from PHPMailer since 5.2.7 version (#51, PHPMailer::setFrom $auto should be FALSE by default).

Actual result

PHP mail() function doesn't send mails without the replyTo field in some conditions of mail servers. Mail servers can defer the mail with custom Sender field in some conditions.

System information (as much as possible)

Joomla since 3.6.4 to latest, the Mailer is mail, PHP since 5.4.45 to latest

avatar drTr0jan drTr0jan - open - 11 Jan 2018
avatar joomla-cms-bot joomla-cms-bot - change - 11 Jan 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 11 Jan 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 14 Jan 2018
Category Libraries
avatar Quy
Quy - comment - 16 Jan 2018

Please submit a PR.

avatar franz-wohlkoenig franz-wohlkoenig - change - 16 Jan 2018
Status New Information Required
avatar drTr0jan
drTr0jan - comment - 17 Jan 2018

I'm a not a joomla user/programmer. I'm a web/mail server admin only on which other people install Joomla.
I don't undertsand a joomla goals and architecture. I can not submit a pull request. :(

avatar franz-wohlkoenig franz-wohlkoenig - change - 27 Jan 2018
Status Information Required Discussion
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 27 Jan 2018

@drTr0jan so we have to wait for a Developer.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19349.

avatar brianteeman brianteeman - change - 25 Mar 2018
Labels Added: J3 Issue
avatar brianteeman brianteeman - labeled - 25 Mar 2018
avatar Quy
Quy - comment - 29 Apr 2018

Please confirm to omit the 3rd parameter from the call.

Before:

		// Add sender to replyTo only if no replyTo received
		$autoReplyTo = (empty($this->ReplyTo)) ? true : false;

		if ($this->setSender(array($from, $fromName, $autoReplyTo)) === false)
		{
			return false;
		}

After:

		if ($this->setSender(array($from, $fromName)) === false)
		{
			return false;
		}
avatar franz-wohlkoenig franz-wohlkoenig - change - 30 Apr 2018
Status Discussion Information Required
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 11 May 2018

Issue closed as no Information provided since 1+ Month. Issue can always reopened.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19349.

avatar franz-wohlkoenig franz-wohlkoenig - change - 11 May 2018
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2018-05-11 04:24:25
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 11 May 2018
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 11 May 2018
avatar joomla-cms-bot
joomla-cms-bot - comment - 11 May 2018

Add a Comment

Login with GitHub to post a comment