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’);
Answer: Option C
Solution(By Examveda Team)
Call the Mail_Mime object’s addAttachment() method passing in the attachment name and extension.Related Questions on PHP Networking
A. Digital Network System
B. Domain Network System
C. Digital Name Systmem
D. Domain Name System
Which one of the following function checks for the existence of DNS records?
A. checkdns()
B. checkdnsr()
C. checkdnsrr()
D. checkdnsa()
A. dns_get_record()
B. dns_record()
C. dnsrr_get_record()
D. dnsrr_record()
A. getmx()
B. retrieve_mx()
C. getmxrr()
D. retrieve_mxrr()
Join The Discussion