Current time: 05-24-2012, 12:22 PM Hello There, Guest! (LoginRegister)


PHP mail not sending - Please help
07-07-2009, 11:56 PM (This post was last modified: 07-08-2009 12:09 AM by enes.)
Post: #51
Solved: 1 Year, 7 Months, 3 Weeks, 1 Day, 22 Hours, 17 Minutes, 46 Seconds ago RE: PHP mail not sending - Please help
Hi everybody
As support team wrote this was not a fix.

Actually the commas giving error in simple.php were in the file Dennis uploaded (every human being can make mistakes Wink )

I just look superficially to codes of php.php and simplephp.php;
in the file Dennis sent, we are not using
Code:
trim($this->headers), $this->additional_parameters

So the error comming with 1.4.7 (with 1.4.6 there weree no such problem) will be related with these.
I checked the changes with 1.4.8 but could not see a quote about that issue.

So myBB support team will produce a solution for this issue.
I'm sorry if you have already produced a solution and I didn't see. (In that case will you say where it is.)

Thanks in advence.
You all, take care guys and also ladies if any.
BTW address of forum http://www.ctfmezun.com/forum
Find all posts by this user
07-27-2009, 01:10 PM
Post: #52
Solved: 1 Year, 7 Months, 3 Weeks, 1 Day, 22 Hours, 17 Minutes, 46 Seconds ago RE: PHP mail not sending - Please help
I also do have this problem.

I have 6 pages full of these errors

Code:
MyBB was unable to send the email using the PHP mail() function.
Find all posts by this user
07-27-2009, 01:18 PM
Post: #53
Solved: 1 Year, 7 Months, 3 Weeks, 1 Day, 22 Hours, 17 Minutes, 46 Seconds ago RE: PHP mail not sending - Please help
Then you'll need to ask your host about it or configure SMTP mail.

Download My Plugins
My Personal Site - Twitter
[Image: eX4bjF]
Visit this user's website Find all posts by this user
10-10-2009, 04:48 PM (This post was last modified: 10-10-2009 05:12 PM by enes.)
Post: #54
Solved: 1 Year, 7 Months, 3 Weeks, 1 Day, 22 Hours, 17 Minutes, 46 Seconds ago RE: PHP mail not sending - Please help
New Finding:
when I checked the mails it says it's from
"=?UTF-8?B?Q2VycmFocGHFn2EgVMSxcCBGYWvDvGx0ZXNpIE1lenVubGFyxLE=?=" <ForumAdmin@CTFmezun.com>

so there will be a problem with settings or coding of forum Sad

AND PHPMail Works but not works with forum. If you ask how
put a test.php file with the same folder in php.php
which composes
Code:
<?php
error_reporting(E_ALL);

$to = 'your email address;

if(mail($to, 'Testing mail', 'This is a mailing test to see if PHP mail works.'))
{
     echo 'Mail was sent by PHP';
}
else
{
     echo 'PHP could not send the mail';
}
?>
Run the page and you'll se if your host has problem with PHPMail or not. mine Does not have any problem with PHPMail but mybb fails when try to send.




(07-07-2009 11:56 PM)enes Wrote:  Hi everybody
As support team wrote this was not a fix.

Actually the commas giving error in simple.php were in the file Dennis uploaded (every human being can make mistakes Wink )

I just look superficially to codes of php.php and simplephp.php;
in the file Dennis sent, we are not using
Code:
trim($this->headers), $this->additional_parameters

So the error comming with 1.4.7 (with 1.4.6 there weree no such problem) will be related with these.
I checked the changes with 1.4.8 but could not see a quote about that issue.

So myBB support team will produce a solution for this issue.
I'm sorry if you have already produced a solution and I didn't see. (In that case will you say where it is.)

Thanks in advence.
You all, take care guys and also ladies if any.
BTW address of forum http://www.ctfmezun.com/forum
Find all posts by this user
11-06-2009, 05:50 AM (This post was last modified: 11-06-2009 05:53 AM by rfi.)
Post: #55
Solved: 1 Year, 7 Months, 3 Weeks, 1 Day, 22 Hours, 17 Minutes, 46 Seconds ago RE: PHP mail not sending - Please help
http://community.mybboard.net/thread-385...#pid264948

I have made these corrections to me php.php to my forum's mailhandler. It is giving no error so far what would be the mail settings now??

either

Smtp mail

or

PHP mail???

What would be the parameters in both cases? Can I use admin@mydomainname.com?? to send new user registration email still wondering how???

Fun Loving Site.
Find all posts by this user
11-09-2009, 07:19 AM (This post was last modified: 11-09-2009 07:28 AM by kunnusingh.)
Post: #56
Solved: 1 Year, 7 Months, 3 Weeks, 1 Day, 22 Hours, 17 Minutes, 46 Seconds ago RE: PHP mail not sending - Please help
Please give me yous SMTP Setting.

Like mail.example.com

try pop mail setting?

Where is your site hosted? url?

Are you use cPanel??
No you can't use admin@example.com

SMTP look like a
mail.example.com
User: your cpanel username
pass: cpanel pass

first try this and if not work then send email from free mail(gmail,yahoo) to your admin@yoursite.co m and check your admin@your...

If you're not receive email it means your server email is down.

[Image: 48d44357cf6743c4a9bf828.png]
Visit this user's website Find all posts by this user
12-01-2009, 11:31 PM (This post was last modified: 12-01-2009 11:33 PM by jwong.)
Post: #57
Solved: 1 Year, 7 Months, 3 Weeks, 1 Day, 22 Hours, 17 Minutes, 46 Seconds ago RE: PHP mail not sending - Please help
Just FYI, this code works, at least it does for me:

PHP Code:
if(ini_get('safe_mode') == || strtolower(ini_get('safe_mode')) == 'on')
{
    
$sent = @mail($this->to$this->subject$this->messagetrim($this->headers));
}
else
{
    
$sent = @mail($this->to$this->subject$this->messagetrim($this->headers), $this->additional_parameters);


I was having the problem that no email notification would be sent when someone replied to a post, but the solution to my problem was to add a "dummy" email address (nobody@yourdomain.com) to the "Additional Parameters for PHP's mail()" field (Configuration > Mail Settings).

HTH
Find all posts by this user


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication