PrepAway - Latest Free Exam Questions & Answers

Tag: Exam ZF-100-500

Exam ZF-100-500: Zend Framework Certification

Which of the following code snippets will you use at line number 3 to initiate Zend_Mail?

Consider the following code segment:
<code>
1. <?php
2. require_once ‘Zend/Mail.php’;
3. ?????????????????????????
4. $mail->setBodyText(‘This is the test email.’);
5. $mail->setFrom(‘somebody@example.com’, ‘Send er’);
6. $mail->addTo(‘somebody_else@example.com’, ‘Recipient’);
7. $mail->setSubject(‘TestSubject’);
8. $mail->send();
9. ?>
</code>
Which of the following code snippets will you use at line number 3 to initiate Zend_Mail?


Page 2 of 1312345...10...Last »