Swift_Attachment::fromPath
Create a new Attachment from a filesystem path.
Signature
public function fromPath(string
$path,
[string
$contentType = null] )
Parameters
$path
— string$contentType
— string- optional
Returns
- Swift_Mime_Attachment