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::
170170 ;
171171
172172 $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');
174174 $body = new AlternativePart($textContent, $htmlContent);
175175
176176 $email = new Message($headers, $body);
@@ -192,7 +192,7 @@ email multiparts::
192192 $textContent = new TextPart('Lorem ipsum...');
193193 $htmlContent = new TextPart(sprintf(
194194 '<img src="cid:%s"/> <h1>Lorem ipsum</h1> <p>...</p>', $imageCid
195- ), 'html');
195+ ), null, 'html');
196196 $bodyContent = new AlternativePart($textContent, $htmlContent);
197197 $body = new RelatedPart($bodyContent, $embeddedImage);
198198
You can’t perform that action at this time.
0 commit comments