Class EmailAttachment
Email attachment will serve as the path to the file that needs to be attached (located on the server).
category |
System |
---|---|
package |
|
subpackage |
Entities |
__construct(\AttachmentPathInterface $path = null, \AttachmentNameInterface $name = null)
Entity representing an email attachment.
getName() : \AttachmentNameInterface
getPath(boolean $absolutePath = true) : \AttachmentPathInterface
boolean
(optional) Whether to return the absolute path or the relative one.
\AttachmentPathInterface
Attachment path.
setName(\AttachmentNameInterface $name)
setPath(\AttachmentPathInterface $path)