Apache & PHP send email
Crystal Li
crystal.li at IDISIS.COM
Sun Jan 6 13:19:14 PST 2008
Hi All,
Sorry, you might get these email twice, I did not give right subject last
email.
I am using:
Apache version 2.0.58
PHP version 4.4.3-dev
MapServer 4.8.3 CGI and MapScript (CSharp, Java, PHP,
Python)
my snippet is below:
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
; For Win32 only.
sendmail_from = me at example.com
and in php, I try to use mail function:
like:
$sConfMsg = "Hello ".trim($http_form_vars["regUsername"]).",\n\n";
mail(pg_escape_bytea(trim($http_form_vars["regFullName"])),"MapChat -
confirmation of account for
".trim($http_form_vars["regUsername"]),$sConfMsg);
but no email have been sent out, please suggest, any more configuration?
Once again thanks a lot!
Crystal
Really appreciate your time and help!
Crystal
--
=========================
Crystal Li
Systems Analyst
Idisis, Inc.
430, 318 11th Avenue S.E.
Calgary, Alberta T2G 0Y2
www.idisis.com
E-mail: crystal.li at idisis.com
Office: (403)670-7351
Fax: (403) 670-7359
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080106/70043cce/attachment.htm>
More information about the MapServer-users
mailing list