FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Confirmation Email problems
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Confirmation Email problems [message #7416] Thu, 21 November 2002 23:53 Go to next message
rajeevk is currently offline  rajeevk   Australia
Messages: 9
Registered: November 2002
Karma: 0
Junior Member
I cant use PHPmail to send, so i set it to use my SMTP host.

I put it in, and when i try and register a new user, on submission i get this error:


Invalid STMP return code: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
Re: Confirmation Email problems [message #7417 is a reply to message #7416] Fri, 22 November 2002 00:18 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
This is an SMTP error, meaning that you are trying to send an email from a domain not supported by your mail server or it could be that your mail server has a restriction on the domains you can send email to.
Bottom line, this is NOT a FUDforum error, but rather a STMP configuration issue.


FUDforum Core Developer
Re: Confirmation Email problems [message #7418 is a reply to message #7416] Fri, 22 November 2002 00:23 Go to previous messageGo to next message
Olliver   Germany
Messages: 443
Registered: March 2002
Karma: 0
Senior Member
Hello,
the problem u describe has definetly nothing to do with FUD itself. The remote server simply refuses to accept mails from ur server, because its address range mismatches the access control list. This is the case when u use internet provider specific accounts. The only workaround is to use a different account which isn't bound to a specific service.
bye
Olliver
Re: Confirmation Email problems [message #7419 is a reply to message #7416] Fri, 22 November 2002 00:54 Go to previous messageGo to next message
rajeevk is currently offline  rajeevk   Australia
Messages: 9
Registered: November 2002
Karma: 0
Junior Member
Fair enough, the other option of course is to use the built in PHP mail of course..

Now i am getting this error, and i know it relates to the configuration of PHP

--------------------
Warning: Unknown error in Z:\hshome\activewe\hellasmirc.com\forum\theme\default\register.php on line 1625
Warning: Cannot add header information - headers already sent by (output started at Z:\hshome\activewe\hellasmirc.com\forum\theme\default\register.php:1625) in Z:\hshome\activewe\hellasmirc.com\forum\theme\default\register.php on line 1408
--------------------


Since i am on a shared hosting account, i cannot modify the PHP file, is there any way around this?

If looking at my current PHP config will help, here is the stats page for it

http://www.hellasmirc.com/in.php


thanks guys
Re: Confirmation Email problems [message #7420 is a reply to message #7419] Fri, 22 November 2002 00:59 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The error you are seeing is generated by PHP's mail() function. It also appears to encounter an error but does not know what the error is.

In your phpinfo() the SMTP server is specified as 'localhost', which is what PHP's mail() will try to use when sending emails. I am guessing you've tried to use your home(?) smtp server, which declined to send the email because your domain www.hellasmirc.com (?) is not listed as local.


FUDforum Core Developer
Re: Confirmation Email problems [message #7421 is a reply to message #7420] Fri, 22 November 2002 01:07 Go to previous messageGo to next message
rajeevk is currently offline  rajeevk   Australia
Messages: 9
Registered: November 2002
Karma: 0
Junior Member
is there a way to specify the smtp sever for PHP mail() to use, and overide the one listen in PHPinfo(), because i cant modify that
Re: Confirmation Email problems [message #7422 is a reply to message #7421] Fri, 22 November 2002 01:14 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
using ini_set() you can change that setting.

FUDforum Core Developer
Re: Confirmation Email problems [message #7423 is a reply to message #7416] Fri, 22 November 2002 01:27 Go to previous messageGo to next message
rajeevk is currently offline  rajeevk   Australia
Messages: 9
Registered: November 2002
Karma: 0
Junior Member
Sorry i should have been more clear,
i tried this in the adm/GLOBALS.PHP file last night..


ini_set('SMTP', 'smtp.hellasmirc.com');

but it didnt work..

am i putting it in the wrong file?
Re: Confirmation Email problems [message #7425 is a reply to message #7423] Fri, 22 November 2002 01:49 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
wrong file, you should've placed that line inside include/GLOBALS.php

FUDforum Core Developer
Re: Confirmation Email problems [message #7427 is a reply to message #7416] Fri, 22 November 2002 02:15 Go to previous messageGo to next message
rajeevk is currently offline  rajeevk   Australia
Messages: 9
Registered: November 2002
Karma: 0
Junior Member
sorry to waste your time, ive tried adding:

ini_set("SMTP","smtp.hellasmirc.com");


near the top and bottom of include/GLOBALS.php


getting the same error....
-----------------------------------
Warning: Unknown error in Z:\hshome\activewe\hellasmirc.com\forum\theme\default\register.php on line 1625
Warning: Cannot add header information - headers already sent by (output started at Z:\hshome\activewe\hellasmirc.com\forum\theme\default\register.php:1625) in Z:\hshome\activewe\hellasmirc.com\forum\theme\default\register.php on line 1408
-----------------------------------

if anyone can think of something else to try, let me know..

Re: Confirmation Email problems [message #7432 is a reply to message #7427] Fri, 22 November 2002 13:13 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
What you need to do is contact your hosting provider and ask them why you cannot use PHP's mail() function to send email. This is clearly a problem they should solve for you. If they do not, you need to find an SMTP server that will allow you to send email.

FUDforum Core Developer
Re: Confirmation Email problems [message #7436 is a reply to message #7432] Fri, 22 November 2002 13:18 Go to previous messageGo to next message
Olliver   Germany
Messages: 443
Registered: March 2002
Karma: 0
Senior Member
Maybe they made the same mistake like me: They compiled php as ordinary users and have sendmail in /usr/sbin, so configure cannot find it Wink
bye Olliver
Re: Confirmation Email problems [message #7439 is a reply to message #7436] Fri, 22 November 2002 13:23 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
It is a windows box, it's mailing system works based on SMTP rather then sendmail, so compile options don't really matter. Plus there is a >80% change they are using pre-compiled binaries.

FUDforum Core Developer
Re: Confirmation Email problems [message #7440 is a reply to message #7416] Fri, 22 November 2002 13:26 Go to previous messageGo to next message
rajeevk is currently offline  rajeevk   Australia
Messages: 9
Registered: November 2002
Karma: 0
Junior Member
I asked them to check the PHP mail() function, and get it working.. Support couldnt make the necessary changes so its been referred to Admin..

Lets wait and see....
Re: Confirmation Email problems [message #7441 is a reply to message #7439] Fri, 22 November 2002 13:26 Go to previous message
Olliver   Germany
Messages: 443
Registered: March 2002
Karma: 0
Senior Member
Oh, sorry. u were right. Well at least they use apache instead of IIS for their customers. Should be honoured I think Smile
bye Olliver
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: MySQL : Access denied after setup
Next Topic: Wierd behaviour after forum transfer
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 21:36:53 GMT 2024

Total time taken to generate the page: 0.02580 seconds