You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure, but I think /src/Message.php createEmbedViaData() method is missing the $contentType parameter. At least, it didn't work for me until I added the following changes. I needed to embed contentType = text/calendar, but it wasn't working.
Not sure, but I think /src/Message.php createEmbedViaData() method is missing the $contentType parameter. At least, it didn't work for me until I added the following changes. I needed to embed contentType = text/calendar, but it wasn't working.
/**
* Create a Swift new Image.
*
* @param string $data
* @param string|null $name optional
* @param string|null $contentType optional
*
* @return \Swift_Image
*
* @see \Swift_Image::newInstance()
*/
protected function createEmbedViaData($data, $name = null, $contentType = null)
{
return $this->getManager()->getDI()->get('\Swift_Image', [$data, $name, $contentType]);
}
The text was updated successfully, but these errors were encountered: