File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ different parts of the email by hand::
170
170
;
171
171
172
172
$textContent = new TextPart('Lorem ipsum...');
173
- $htmlContent = new TextPart('<h1>Lorem ipsum</h1> <p>...</p>', 'html');
173
+ $htmlContent = new TextPart('<h1>Lorem ipsum</h1> <p>...</p>', null, 'html');
174
174
$body = new AlternativePart($textContent, $htmlContent);
175
175
176
176
$email = new Message($headers, $body);
@@ -192,7 +192,7 @@ email multiparts::
192
192
$textContent = new TextPart('Lorem ipsum...');
193
193
$htmlContent = new TextPart(sprintf(
194
194
'<img src="cid:%s"/> <h1>Lorem ipsum</h1> <p>...</p>', $imageCid
195
- ), 'html');
195
+ ), null, 'html');
196
196
$bodyContent = new AlternativePart($textContent, $htmlContent);
197
197
$body = new RelatedPart($bodyContent, $embeddedImage);
198
198
You can’t perform that action at this time.
0 commit comments