Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Sendmail parameters are not fully compliant #1174

Closed
faelnor opened this issue May 6, 2016 · 2 comments
Closed

Sendmail parameters are not fully compliant #1174

faelnor opened this issue May 6, 2016 · 2 comments

Comments

@faelnor
Copy link

faelnor commented May 6, 2016

When using a sendmail-compatible clone such as mini_sendmail (for mailing from inside a chroot), sending an email silently fails and leads to an instanciation error because the -f additional option is passed with a space before the address that follows. Indeed, the flags of sendmail should be passed without blank character (see manpage).

The fix is the simplest thing ever, just remove the space before %s at line 585 of class.phpmailer-lite.php

@ad-m
Copy link
Contributor

ad-m commented May 6, 2016

Do you can prepare pull request?

@cdujeu
Copy link
Member

cdujeu commented Jul 6, 2016

hi, just going back on this. I can't find anything in the man page about "no space" after -f. Can you just point me to the right resource?

@cdujeu cdujeu added this to the 6.5.4 => 7.0.0 milestone Sep 21, 2016
@cdujeu cdujeu closed this as completed in 2a81ee7 Sep 29, 2016
@cdujeu cdujeu modified the milestones: 6.5.4 => 7.0.0, 6.5.3 Oct 3, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants