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

Commit7292c30

Browse files
committed
Tweaks
1 parentd870d86 commit7292c30

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

‎mailer.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,13 +1093,17 @@ the email contents:
10931093
<h1>Welcome {{ email.toName }}!</h1>
10941094
{# ... #}
10951095

1096-
By default this will create an attachment using the file path asfilename:
1096+
By default this will create an attachment using the file path asfile name:
10971097
``Content-Disposition: inline; name="cid..."; filename="@images/logo.png"``.
1098-
This behavior can be overridden by passing a name(the third argument):
1098+
This behavior can be overridden by passing acustom filenameasthe third argument:
10991099

11001100
..code-block::html+twig
11011101

1102-
<img src="{{ email.image('@images/logo.png', name: 'my-logo.png') }}" alt="My Logo">
1102+
<img src="{{ email.image('@images/logo.png', 'image/png', 'logo-acme.png') }}" alt="ACME Logo">
1103+
1104+
..versionadded::7.3
1105+
1106+
The third argument of ``email.image()`` was introduced in Symfony 7.3.
11031107

11041108
.. _mailer-inline-css:
11051109

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp