Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 09:44 pm EST
Geeklog Forums
A small mail problem
Status: offline
Sniper12
Forum User
Regular Poster
Registered: 11/25/03
Posts: 81
Location:Denmark
I have a small mail problem
I get this error when using mail in config.php
Then I trayed to use the SMTP option in sted, and if I use true in the 'auth' line. I don't get a mail. but I get an error in the error.log file
When I use false in the 'auth' line I get this error on the screen in 2 sek.
Plz help me I have spend a long time on this error.
I get this error when using mail in config.php
Fatal error: Call to a member function on a non-object in
/customers/sugecrew.dk/sugecrew.dk/httpd.www/prideofvbk/geeklog/public_html/lib-common.php on line 3259
/customers/sugecrew.dk/sugecrew.dk/httpd.www/prideofvbk/geeklog/public_html/lib-common.php on line 3259
Then I trayed to use the SMTP option in sted, and if I use true in the 'auth' line. I don't get a mail. but I get an error in the error.log file
[pear_error: message="unable to authenticate to smtp server" code=0 mode=return level=notice prefix="" info=""]
When I use false in the 'auth' line I get this error on the screen in 2 sek.
Warning: Cannot set time limit in safe mode in /usr/share/php/PEAR/Mail/RFC822.php on line 179
but I get an mail, and ther is no error in the error.log filePlz help me I have spend a long time on this error.
17
15
Quote
Status: offline
Peter_Apockotos
Forum User
Junior
Registered: 03/18/04
Posts: 29
I get the same error when someone registers:
[pear_error: message="unable to set sender to [@]" code=0 mode=return level=notice prefix="" info=""]
mail setup is set to smtp when these errors occur, but setting it to mail it works fine. Strange SMTP was working with the last version of 1.3.8. The only reason I caught on was the fact that newly registered users never logged in.
[pear_error: message="unable to set sender to [@]" code=0 mode=return level=notice prefix="" info=""]
mail setup is set to smtp when these errors occur, but setting it to mail it works fine. Strange SMTP was working with the last version of 1.3.8. The only reason I caught on was the fact that newly registered users never logged in.
16
17
Quote
Status: offline
Peter_Apockotos
Forum User
Junior
Registered: 03/18/04
Posts: 29
In my config, I just have:
$_CONF['path_pear'] = $_CONF['path_system'] . 'pear/';
Are you suggesting that I add $_CONF['path_pear'] = $_CONF['path_system'] . 'PEAR/'; to the config or replace $_CONF['path_pear'] = $_CONF['path_system'] . 'pear/'; with $_CONF['path_system'] . 'PEAR/';
$_CONF['path_pear'] = $_CONF['path_system'] . 'pear/';
Are you suggesting that I add $_CONF['path_pear'] = $_CONF['path_system'] . 'PEAR/'; to the config or replace $_CONF['path_pear'] = $_CONF['path_system'] . 'pear/'; with $_CONF['path_system'] . 'PEAR/';
16
18
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
FWIW, Geeklog ships with a lower-case "pear" directory (i.e. system/pear) and therefore, the case in the config.php matches that (i.e. it's also lower-case). This should work as expected "out of the box".
Maybe Sniper12 renamed his directory or some software he used did it. I don't think this is the solution to the problem described earlier in this thread.
Instead, I'd try switching $_CONF['have_pear'] to true:
$_CONF['have_pear'] = true;
(assuming your webserver is running at least PHP 4.3.0)
bye, Dirk
Maybe Sniper12 renamed his directory or some software he used did it. I don't think this is the solution to the problem described earlier in this thread.
Instead, I'd try switching $_CONF['have_pear'] to true:
$_CONF['have_pear'] = true;
(assuming your webserver is running at least PHP 4.3.0)
bye, Dirk
23
24
Quote
Status: offline
Peter_Apockotos
Forum User
Junior
Registered: 03/18/04
Posts: 29
My host does provide pear. But when I set it to true, I still get:
[pear_error: message="unable to set sender to [@]" code=0 mode=return level=notice prefix="" info=""]
Any other ideas? Is there anything to having the Site Name as Knightrider.org and the mail domain as mail.knightrider.org as another poster suggested???
[pear_error: message="unable to set sender to [@]" code=0 mode=return level=notice prefix="" info=""]
Any other ideas? Is there anything to having the Site Name as Knightrider.org and the mail domain as mail.knightrider.org as another poster suggested???
21
18
Quote
unleash
Anonymous
Problem:
[pear_error: message="unable to set sender to [@]" code=0 mode=return level=notice prefix="" info=""]
on 1.3.9sr1. Using smtp, pear = false.
Found a solution that worked for me:
- in config.php :
$_CONF['site_name'] = 'penaddict.de'; CHANGED TO
$_CONF['site_name'] = 'penaddict';
Seems like the mailer does not like any URL-like name as the site_name-variable.
Found the hint here:
http://dloepfe.com/main/article.php?story=20040326125905436
Hope that helps someone.
[pear_error: message="unable to set sender to [@]" code=0 mode=return level=notice prefix="" info=""]
on 1.3.9sr1. Using smtp, pear = false.
Found a solution that worked for me:
- in config.php :
$_CONF['site_name'] = 'penaddict.de'; CHANGED TO
$_CONF['site_name'] = 'penaddict';
Seems like the mailer does not like any URL-like name as the site_name-variable.
Found the hint here:
http://dloepfe.com/main/article.php?story=20040326125905436
Hope that helps someone.
21
13
Quote
wiewior [przemekkus DELETE IT at interia dot pl]
Anonymous
Had the same problem: pear_error: message="unable to set sender to [@]"
It happened when I had used polish national characters before "From" email address:
$msg['headers']['From'] = 'źćś' . '<' . $EMAIL_FROM . '>'
So, it's necessary to encode it for example like this:
$msg['headers']['From'] = imap_8bit('źćś') . '<' . $EMAIL_FROM . '>'
It will do the trick.
It happened when I had used polish national characters before "From" email address:
Text Formatted Code
$msg['headers']['From'] = 'źćś' . '<' . $EMAIL_FROM . '>'
So, it's necessary to encode it for example like this:
Text Formatted Code
$msg['headers']['From'] = imap_8bit('źćś') . '<' . $EMAIL_FROM . '>'
It will do the trick.
25
17
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: wiewior [przemekkus DELETE IT at interia dot pl]
Had the same problem: pear_error: message="unable to set sender to [@]"
It happened when I had used polish national characters before "From" email address
Which Geeklog version was that? 1.4.1 should (finally) encode all special characters correctly.
bye, Dirk
22
24
Quote
All times are EST. The time is now 09:44 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content