Which of the following statements is used to add an attachment to the mail?
(a) $mimemail->attachment(‘attachment.pdf’);
(b) $mimemail=>attachment(‘attachment.pdf’);
(c) $mimemail->addAttachment(‘attachment.pdf’);
(d) $mimemail=>addAttachment(‘attachment.pdf’);
The question was posed to me by my college professor while I was bunking the class.
My question is based upon Networking with PHP topic in section File and Session Handling in PHP of PHP