[Xerte-dev] Re: the 1.8 trunk merge

Pat Lockley patrick.lockley at googlemail.com
Thu Mar 8 17:26:28 GMT 2012


So would an ini_get find that? Is that all php mail needs?

On Thu, Mar 8, 2012 at 5:11 PM, David Goodwin <david at palepurple.co.uk> wrote:
>
> On 8 Mar 2012, at 17:06, Pat Lockley wrote:
>
>> it relies on the PHP mail function working, what requirements that has
>> I don't know, but on local host I get a sendmail something.
>
> Ah. With a Linux box php will always call a local /usr/sbin/sendmail.
>
> On Windows you must have an SMTP relay configured. You can set these settings through an ini_set call. I suspect most WAMP installs leave the php.ini values blank.
>
>
> Where things get tricky is if you have a Linux server/vm which needs to relay through somewhere - as the mail() function will not support this - hence it's normally better to use something like Zend_Mail/SwiftMailer/etc. They also handle HTML email, character sets and attachments a lot better.
>
> thanks,
>
> David.
>
>
> Pale Purple Ltd.  (Company No: 5580814)
> 'Business Web Application Development and Training in PHP'
>
> http://www.palepurple.co.uk
> Office: 0845 0046746     Mobile: 07792380669
>
> Follow us on Twitter: @PalePurpleLtd
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
>



More information about the Xerte-dev mailing list