Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved Activation code
#1
Not Solved
Hi, I created a website for my community and I installed MyBB. When someone signs up they don't get an activation code by email. I was also trying but I didn't get an email. Why? Could someone help me?
#2
Not Solved
which mail setup you are using (php / smtp) AND have you checked if there are
any error messages at admin panel --> tools & maintenance --> system mail log
#3
Not Solved
(08-17-2011, 06:38 PM)danne12399 Wrote: Hi, I created a website for my community and I installed MyBB. When someone signs up they don't get an activation code by email. I was also trying but I didn't get an email. Why? Could someone help me?

did you set the mail functions up correctly ? does your host allow php mail to work ? a url to the site would be good
Not in this land alone,
But be God's mercies known,
From shore to shore!
Lord make the nations see,
That men should brothers be,
And form one family,
The wide world ov'er

#4
Not Solved
"MyBB was unable to send the email using the PHP mail() function."

Why?
#5
Not Solved
that depends on your web host !! you may confirm it with help:mail .
its better to contact your web host
#6
Not Solved
(08-17-2011, 06:50 PM)danne12399 Wrote: "MyBB was unable to send the email using the PHP mail() function."

Why?
Sounds like your host has disabled this function ... contact your host
Not in this land alone,
But be God's mercies known,
From shore to shore!
Lord make the nations see,
That men should brothers be,
And form one family,
The wide world ov'er

#7
Not Solved
I saw this but I can't find "
Quote:mail($to, $subject, $message, $headers);"
in the file.

Quote:Some webhosts have various restrictions on PHP mail. Some hosts require that the "From" address be a mailbox address on their server. Other hosts may disable the mail function completely. Please ask your webhost if there are any special restrictions they have on sending mail via PHP.

If your webhost has restricted that only mails from there own domain is allowed, try to edit the file inc/functions.php. Look for:

mail($to, $subject, $message, $headers);
and include above: ini_set("sendmail_from", " [email protected] ");
Then it should look like this:

ini_set("sendmail_from", " [email protected] ");
mail($to, $subject, $message, $headers);
YOURDOMAIN must be replaced by the domain where the forum is hosted.

http://wiki.mybb.com/index.php/Help:Mail

Or do anyone know if I can turn off/remove this mail activation in some way?

Can someone help?!
#8
Not Solved
(08-17-2011, 09:02 PM)danne12399 Wrote: I saw this but I can't find "
Quote:mail($to, $subject, $message, $headers);"
in the file.

Quote:Some webhosts have various restrictions on PHP mail. Some hosts require that the "From" address be a mailbox address on their server. Other hosts may disable the mail function completely. Please ask your webhost if there are any special restrictions they have on sending mail via PHP.

If your webhost has restricted that only mails from there own domain is allowed, try to edit the file inc/functions.php. Look for:

mail($to, $subject, $message, $headers);
and include above: ini_set("sendmail_from", " [email protected] ");
Then it should look like this:

ini_set("sendmail_from", " [email protected] ");
mail($to, $subject, $message, $headers);
YOURDOMAIN must be replaced by the domain where the forum is hosted.

http://wiki.mybb.com/index.php/Help:Mail

Or do anyone know if I can turn off/remove this mail activation in some way?

Can someone help?!
so have you found out if php mail is suported by your host ? if not you will have to configure mybb to use smtp mail
to ignore this set the following :-
admincp->configuration->User Registration and Profile Options->Registration Method and choose a different option (perhaps instant activation) use this as a stop gap until you have something else set up
Not in this land alone,
But be God's mercies known,
From shore to shore!
Lord make the nations see,
That men should brothers be,
And form one family,
The wide world ov'er

#9
Not Solved
Would you please explain more?! my function.php is a bit different.
my forums address is like this:
"forums.domain.com"
PHP mail function is enable on my host and php mail test code on MyBB Wiki Mail Help works fine.
But mails from MyBB are unable to be sent.
I have attached my Function.php.
Please help me. it's more important for me Sad


Attached Files
.php   functions.php (Size: 144.4 KB / Downloads: 35)
#10
Not Solved
Just use SMTP mail, it's easier.
-Paul H.

Cogisne lingua latina?


Forum Jump:


Users browsing this thread: 1 Guest(s)