embed() public method
Attach a file and return it's CID source.
This method should be used when embedding images or other data in a message.
public string embed ( $fileName, array $options = [] ) | ||
---|---|---|
$fileName | string |
File name. |
$options | array |
Options for embed file. Valid options are:
|
return | string |
Attachment CID. |
Please login to continue.