PHPMailer\PHPMailer\PHPMailer::clearAttachments PHP 메소드

clearAttachments() 공개 메소드

Clear all filesystem, string, and binary attachments.
public clearAttachments ( ) : void
리턴 void
    public function clearAttachments()
    {
        $this->attachment = [];
    }

Usage Example

예제 #1
0
파일: mail.php 프로젝트: Rai-Ka/joomla-cms
 /**
  * Unset all file attachments from the email
  *
  * @return  JMail  Returns this object for chaining.
  *
  * @since   12.2
  */
 public function clearAttachments()
 {
     parent::clearAttachments();
     return $this;
 }