Home / CSE / PHP - CS :: Discussion

Discussion :: PHP - CS

  1. Which of the following statements is used to add an attachment to the mail?

  2. A.

     $mimemail->attachment(‘attachment.pdf’);

    B.

     $mimemail=>attachment(‘attachment.pdf’);

    C.

     $mimemail->addAttachment(‘attachment.pdf’);

    D.

     $mimemail=>addAttachment(‘attachment.pdf’);

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    Call the Mail_Mime object’s addAttachment() method passing in the attachment name and extension.


Be The First To Comment