PrepAway - Latest Free Exam Questions & Answers

Which of the following code snippets will you use if you want to connect to a Pop3 server using TLS?

Which of the following code snippets will you use if you want to connect to a Pop3 server using
TLS?

PrepAway - Latest Free Exam Questions & Answers

A.
<?php
$mail = new Zend_Mail_Storage_Pop3(array(‘host’
=’example.com’, ‘user’ =’user_name’,
‘protocol_used’ = ‘tls’)); ?>

B.
<?php
$mail = new Zend_Mail_Storag e_Pop3(array(‘host’
=’example.com’, ‘user’ =’user_name’,
‘connectTo’ = ‘tls’)); ?>

C.
<?php
$mail = new Zend_Mail_Storage_Pop3(array(‘host’
=’example.com’, ‘user’ =’user_name’,
‘ssl’ = ‘tls’)); ?>

D.
<?php
$mail = new Zend_Mail_Storage_Pop3(array(‘host’
=’example.com’, ‘user’ =’user_name’,
‘protocol_used’ = ‘ssl/tls’)); ?>


Leave a Reply

Your email address will not be published. Required fields are marked *