[Mediawiki-l] PHP.INI

Wikinews Markie newsmarkie at googlemail.com
Mon Nov 12 23:43:05 UTC 2007


why not use SMTP to send the emails from another host such as gmail??

mark

On Nov 12, 2007 11:16 PM, Steve VanSlyck <s.vanslyck at spamcop.net> wrote:

> For a Windows server, how does one configure MediaWiki's PHP to use its
> own PHP.INI file instead of the server's? The sources of the question is
> how to allow MediaWiki to send emails from an address other than than
> the server administrator's address configured in its own PHP.INI file?
>
> Here is the message the server administrator sent me:
>
> "As for the email issue - I've not worked that out just yet. So far PHP
> scripts can compose and send emails but they are mailed with the
> administrator's address as this is hardcoded in the INI - there is
> however a way to set the "email from" smtp header on a per email basis
> using the mail command within PHP - it all depends on how the script is
> written. If the script does not take advantage of this, emails will come
> from postmaster at email-host.XXXXXXXXX.com
> <mailto:postmaster at email-host.compcoind.com>. I've not worked out how to
> let individual sites set their own PHP.INI file just yet. It may not be
> possible with the setup we have and may prove to be a security risk in
> the long run."
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>


More information about the MediaWiki-l mailing list