php-windows Digest 8 Jun 2005 06:41:36 -0000 Issue 2688

Topics (messages 26079 through 26081):

Re: How to setup the mail server so that I can use mail() function
        26079 by: ST Ooi

Re: cannot load dynamic module ..
        26080 by: Michael Louie Loria
        26081 by: martin hochreiter

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message --- As a matter of fact, I have install XMail and try to use PHPMailer to send the email but it's always rejected by the mail server. The reason is relay failed. I have a webmail software that running on the same server call UebiMiau which uses PHPMailer to send email, and it works. The code that I use are as follows.

<?php
require("class.phpmailer.php");

   $mail = new PHPMailer();
   $mail->IsSMTP();
   $mail->IsHTML(false);
   $mail->Charset = "iso-8859-1";
   $mail->timezone = date("O");
   $mail->From = '[EMAIL PROTECTED]';
   $mail->FromName = "ST Ooi";
   $mail->Host = "localhost";
   $mail->Port = 25;
   $mail->Hostname = "localhost";
   $mail->Subject = "Send mail from laser-compo.com";
   $mail->Body = stripslashes("Send mail trial");
   $mail->AddAddress('[EMAIL PROTECTED]', 'Patrick Ooi');
   $mail->AddReplyTo('[EMAIL PROTECTED]', 'ST Ooi');
   $mail->Send()
?>


Any help would be appreciated.

Thanks

ST Ooi

ST Ooi wrote:
Hi,

How can I setup my mail server so that I can use mail() function in PHP? I'm running WindowsXP Pro.

Thanks

ST Ooi

--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

- - - -
Hi!

I installed Apache 2.054 and the latest version of php
4.
Unfortunately I php can't load the extensions while
startup of Apache.
Although the extension path is correct and the files
exists.
I tried it with
H:\programme\php\extensions
H:\programme\php\extensions\
H:/programme/php/extensions
H:/programme/php/extensions/

without success.

Any hints?

lg
- - - -

check http://www.ricocheting.com/server/php.html for
setting up PHP,
MySQL, CGI and Apache


Michael Louie Loria
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: GPG Public Key:
https://www.biglumber.com/x/web?qs=0x4A256EC8
Comment: GPG Public Key:
http://www.lorztech.com/GPG.txt
Comment: Yahoo ID: michaellouieloria

iD8DBQFCpw7XEWLHf0olbsgRA+EOAJwNIv1rscg+Wzmh/DMXiBgM8Q0vBgCgooE3
5FQ/GxGI2TbeT48OYzb3aJU=
=t4Ce
-----END PGP SIGNATURE-----


                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail

--- End Message ---
--- Begin Message ---

- - - -

check http://www.ricocheting.com/server/php.html for
setting up PHP,
MySQL, CGI and Apache

Hi Michael!

That is exactly what I did. But php can't load the extensions ...

lg

--- End Message ---

Reply via email to