Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
7 + 8 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: rplace mail() to email()
by hervet on 2005/8/20 11:30:57

question already asked an replyed on XOOPS France !
Thank you VERY much.
Re: rplace mail() to email()
by Soniaro on 2005/8/19 10:28:47

Thanks,
i have try and seam to not working also :'(
i have try smtp with my provider smtp account but not working also :'(
Re: rplace mail() to email()
by skalpa on 2005/8/19 0:20:11

lol
A free user...
Here are the things to change I could find.
Haven't tested (just checked the source files), so no garantee given.
Maybe you can find more info about this on the french support site forums, I'm sure you're not the first XOOPS user using this hosting service.
http://www.frxoops.org/

In /class/mail/phpmailer/phpmailer.php
Look for the function mail_send, and replace both calls:

le="color: #000000"><?php if ($this->Sender != "" && PHP_VERSION >= "4.0.5") { // The fifth parameter to mail is only available in PHP >= 4.0.5 $params = sprintf("-oi -f %s", $this->Sender); $rt = @[b]mail[/b]($to, $this->encode_header($this->Subject), $body, $header, $params); } else { $rt = @[b]mail[/b]($to, $this->encode_header($this->Subject), $body, $header); }


Then configure XOOPS to use mail(). Also, don't forget you'll have to re-apply this change if you ever install a new version that updates this file .

skalpa.>
rplace mail() to email()
by Soniaro on 2005/8/18 23:44:05

in my hosting service , The mail() function is disabled and replaced by email()
anyone say how to modify XOOPS for change mail() to email() please?

thanks

Who's Online

351 user(s) are online (299 user(s) are browsing Support Forums)


Members: 0


Guests: 351


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits