Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Mailer] Document new Mailer transport options#13911

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@fritzmg
Copy link
Contributor

This documents the additional options for the Mailer component introduced insymfony/symfony#37432

@fritzmg
Copy link
ContributorAuthor

May be it would be better to addverify_peer to the list of options, instead of it having its own section.

@fritzmg
Copy link
ContributorAuthor

Sincecomponents/mailer.rst got removed, should I may be base this PR off of#14083?

@OskarStarkOskarStark added the Waiting Code MergeDocs for features pending to be merged labelAug 27, 2020
@OskarStarkOskarStark added this to the5.2 milestoneAug 27, 2020
Comment on lines 183 to 185
..versionadded::5.2

These options were added in Symfony 5.2.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This could be problematic if further options will be added, lets say in5.3. I would recommend to remove this versionadded directive and do it like...

fritzmg reacted with thumbs up emoji
Comment on lines 190 to 192
Command to be executed by ``sendmail`` transport.

$dsn = 'sendmail://default?command=/usr/sbin/sendmail%20-oi%20-t'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
Command to be executed by ``sendmail`` transport.
$dsn = 'sendmail://default?command=/usr/sbin/sendmail%20-oi%20-t'
Command to be executed by ``sendmail`` transport.
$dsn = 'sendmail://default?command=/usr/sbin/sendmail%20-oi%20-t'
..versionadded::5.2
The ``command`` option was introduced in Symfony 5.2.

Please do this for the other options, too

local_domain
~~~~~~~~~~~~

The domain name to use in ``HELO`` command.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
The domain name to use in ``HELO`` command.
The domain name to use in ``HELO`` command::

Can you explain to me whatHELO is? Maybe we could add a link to a wikipedia page or sth. else?

Copy link
ContributorAuthor

@fritzmgfritzmgAug 27, 2020
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

You mean likehttps://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol#SMTP_transport_example? That's were "HELO" links to from other pages on Wikipedia at least.

~~~~~~~~~~~~~~~~~

The maximum number of messages to send before re-starting the transport. Can be
used together with ``restart_threshold_sleep`` which is the number of seconds to
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This option is not documented, isn't it? 🤔

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Indeed, I'll ammend it with the other changes.

OskarStark reacted with thumbs up emoji
@OskarStarkOskarStark changed the title[Mailer] Document added mailer transport options[Mailer] Document new Mailer transport optionsAug 27, 2020
@fritzmg
Copy link
ContributorAuthor

fritzmg commentedAug 27, 2020
edited
Loading

@OskarStark I'll wait for#14083 to be merged, before I make any changes, since the whole thing needs to be restructured then anyway.

fabpot added a commit to symfony/symfony that referenced this pull requestAug 27, 2020
… (fritzmg)This PR was squashed before being merged into the 5.2-dev branch.Discussion----------[Mailer] Implement additional mailer transport options| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| Deprecations? | no| Tickets       |Fix#37300| License       | MIT| Doc PR        |symfony/symfony-docs#13911This implements additional transport configuration options mentioned in#37300. It also adds a `command` option to be able to define the command used by the `sendmail` transport.Examples:```ymlframework:  mailer:    transports:      sendmail: sendmail://default?command=/usr/sbin/sendmail%%20-oi%%20-t      local_domain: smtps://smtp.example.com?local_domain=example.org      restart_threshold: smtps://smtp.example.com?restart_threshold=10&restart_threshold_sleep=1      ping_threshold: smtps://smtp.example.com?ping_threshold=200```Commits-------665d1cd [Mailer] Implement additional mailer transport options
@OskarStarkOskarStark removed the Waiting Code MergeDocs for features pending to be merged labelAug 27, 2020
@xabbuhxabbuh changed the base branch frommaster to5.xOctober 6, 2020 11:54
@xabbuhxabbuh changed the base branch from5.x to5.2November 17, 2020 10:06
@OskarStark
Copy link
Contributor

Can you please rebase? Thanks

@javiereguiluzjaviereguiluzforce-pushed thefeature/more-mailer-options branch from96b8ba8 tof713212CompareJuly 30, 2021 15:11
@javiereguiluz
Copy link
Member

Thanks for contributing these docs! We changed them a bit and fixed the conflicts while merging. Congrats on your first Symfony Docs contribution!

@javiereguiluzjaviereguiluz merged commitb587cdb intosymfony:5.2Jul 30, 2021
@fritzmg
Copy link
ContributorAuthor

Sorry, completely dropped off my radar :)

javiereguiluz reacted with thumbs up emoji

@fritzmgfritzmg deleted the feature/more-mailer-options branchJuly 30, 2021 15:16
symfony-splitter pushed a commit to symfony/mailer that referenced this pull requestSep 28, 2021
… (fritzmg)This PR was squashed before being merged into the 5.2-dev branch.Discussion----------[Mailer] Implement additional mailer transport options| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| Deprecations? | no| Tickets       | Fix #37300| License       | MIT| Doc PR        |symfony/symfony-docs#13911This implements additional transport configuration options mentioned in #37300. It also adds a `command` option to be able to define the command used by the `sendmail` transport.Examples:```ymlframework:  mailer:    transports:      sendmail: sendmail://default?command=/usr/sbin/sendmail%%20-oi%%20-t      local_domain: smtps://smtp.example.com?local_domain=example.org      restart_threshold: smtps://smtp.example.com?restart_threshold=10&restart_threshold_sleep=1      ping_threshold: smtps://smtp.example.com?ping_threshold=200```Commits-------665d1cd3fa [Mailer] Implement additional mailer transport options
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@OskarStarkOskarStarkOskarStark left review comments

Assignees

No one assigned

Projects

None yet

Milestone

5.2

Development

Successfully merging this pull request may close these issues.

4 participants

@fritzmg@OskarStark@javiereguiluz@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp