PDA

View Full Version : vBulletin and www.online.fr


gritche
09-23-2001, 08:49 PM
Hi !

Somebody can help me to adapte vBulletin for working with the email( function of Online.fr ?

here is the email( doc.

http://www.online.net/support/fr/php/email.html

Please help me, i replace mail( by email( in all .php3 files and add the missing syntax but that don't work.

Help me please.

Many thanks

a French guy.

Martin
09-24-2001, 04:45 AM
first, you need to put your license info in your profile, second this doesn't belong in the installations forum :)

gritche
09-24-2001, 05:38 AM
Ok, i updated my profil setup with licence informations.

JamesUS
09-24-2001, 02:30 PM
What doesn't work about it? We need more details.

gritche
09-24-2001, 03:24 PM
Hi

I install vBulletin 2.0.3 on my web site. My web site is hosted by www.online.fr

vBulletin works but it can't send email (exemple : the email send when a new user is registered.)

I see that Online.fr disable the php3 "mail(" function. They replace it bye "email(" function.

here is the info about email( function :

http://www.online.net/support/fr/php/email.html

I replace "mail(" by "email(" and modify the syntax parameters in all .php3 files of vBulletin. But that dont work.

Thx again for the help :)

JamesUS
09-24-2001, 03:43 PM
Yes but what doesn't work? After you change the functions to email(), what doesn't work about it?

gritche
09-24-2001, 04:39 PM
The problem is simple, vBulletin doesn't send the email notification, when i add a post or when i resend login and password to an registered user.

ozone2000
09-24-2001, 05:34 PM
you mean that when you replace mail( with email( it still doesnt work?

JamesUS
09-24-2001, 06:37 PM
So no errors are displayed; it just doesn't send?

If so you need to send an email to the host asking for help, as it is their function that doesn't work.

gritche
10-03-2001, 08:35 PM
Hi :)

I found the solution of my problem.

I do a script test to know if my settings are good on Online.fr

Here is my script, and now that works.

Thanks everybody for the help.

---------------------------
<?php
$sujet="Test de mail";
$msg="Bonjour,\n ceci est un mail par php3";

if(!email("webmaster","destination@fai.com",$sujet,$msg)){
print "le mail n'a ?t? envoy?<br>";
}
?>
----------------------------

I hope that can help another persons with the same problem.

Thx again.

Mathieu