Skip to content

Allow setting the $self variable in SmtpMailer manually #45

@janbuchar

Description

@janbuchar
  • bug report? no
  • feature request? yes
  • version: 2.4.0

Description

It would be great if we could set the $self variable (https://github.com/nette/mail/blob/master/src/Mail/SmtpMailer.php#L133) manually (e.g using config parameters) - if it's set to localhost, some mail servers consider our mails spam. Our use case is sending e-mails from the CLI, where it makes no sense to set the HTTP_HOST variable used by SmtpMailer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions