Email Handling and Manipulation Question 2

9 views
Skip to first unread message

Dan Kelly

unread,
Jul 14, 2011, 10:57:42 AM7/14/11
to Zend Certification Study Group
In PHP, the way e-mail is sent from a Windows- or Novell-based machine
is different when
compared to the behaviour of a UNIX-based machine that uses the
sendmail application. In
which of the following ways does it differ? (Choose 2):


A. Windows/Novell installations require no third party software (i.e.
sendmail or
equivalent) to function.
B. A UNIX installation will rely on the sendmail_from configuration
directive to
determine the From: header of the e-mail
C. You cannot send e-mail with multiple recipients on Windows/Novell
installations—
each e-mail must be sent separately by calling mail() multiple times.
D. Depending on the value of sendmail_path configuration directive,
they may behave
identically.
E. Unlike Windows/Novell installations, in UNIX you must properly
configure the
MTA host and port using the SMTP and smtp_port configuration
directives.

Ramsez Stamper

unread,
Jul 14, 2011, 11:11:10 AM7/14/11
to zend-certificat...@googlegroups.com
I'm pretty sure B is right, but i'm guessing A for the other since i lack experience with anything bu Unix emails :)
--
Ramsez A. V. Stamper | Project Manager
Innovative Care Solutions | www.innovcare.com
o. 770-300-0244 | f. 770-447-4011
5655 Peachtree Parkway Norcross, Ga 30092
Twitter: @crassiusneo

Darren Cato

unread,
Jul 14, 2011, 12:15:01 PM7/14/11
to zend-certificat...@googlegroups.com
i'll go with  A and b as well, does anyone seriously use php on windows servers?

----------------------------------------------------
Darren http://www.eztransition.com/gui/images/icons/social_network/twitter_16.png 

Seal Trip

unread,
Jul 14, 2011, 3:32:48 PM7/14/11
to zend-certificat...@googlegroups.com
mmm tough one...but these type of question are silly

I agree with A 

Don't agree with B, since I had to reinstall my mail a week or two ago. And I remember specifically that unix had sendmal_path and windows had sendmail_from

D i'm not sure about...But I know E not a must.
By POE A and D

Dan Kelly

unread,
Jul 18, 2011, 9:35:36 AM7/18/11
to Zend Certification Study Group
The correct answers are A and D. While the UNIX version of PHP
requires the sendmail
application (or an equivalent emulation thereof) to send mail through
an MTA, the
Windows/Novell versions communicate directly with the MTA using SMTP.
However, if
available, PHP can also be configured to use a “sendmail wrapper” to
simulate the sendmail
application on Windows/Novell, in which case all three versions of PHP
would function in
the same way. Also note that, when using the internal implementation
of mail() on
Windows/Novell environments, it is necessary to set the sendmail_from
configuration
directive, while UNIX flavours leave that task to the sendmail
application itself.
Reply all
Reply to author
Forward
0 new messages