PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds Bug Reports (http://www.photopost.com/forum/classifieds-bug-reports/)
-   -   Error when sending e-mail notification (http://www.photopost.com/forum/classifieds-bug-reports/133041-error-when-sending-e-mail-notification.html)

Big Tom August 25th, 2007 05:59 PM

Error when sending e-mail notification
 
I get the following error message after submitting a bid. The user database is linked to phpbb2, the user has a valid e-mail address and the administrator e-mail is set.

Warning: mail() [function.mail]: SMTP server response: 503 5.5.2 Need Rcpt command. in C:\wamp\www\aof\cf\bids.php on line 220

Despite it only being an e-mail, no message is being sent.

Any help is appreciated.

Tom

Chuck S August 25th, 2007 06:03 PM

Looks to me like a server email error code might want to check with your host about their php mail setup

Only thing I would suggest is in global options you have a valid email address for the admin email there

Big Tom August 25th, 2007 06:15 PM

Hi,
I doubt that it is a php problem - there are other applications that work just fine and even within the classified software, notifications about new ads to the admin e-mail for example work just fine. I checked the php log and here's the line containing the error (the "<a href..." looks a little bit strange, or?):

[25-Aug-2007 19:10:16] PHP Warning: mail() [<a href='function.mail'>function.mail</a>]: SMTP server response: 503 5.5.2 Need Rcpt command. in C:\wamp\www\aof\cf\bids.php on line 220

Thanks,
Tom

Chuck S August 25th, 2007 06:22 PM

My line 220 of bids.php is this

Code:

Content visible to verified customers only.
I dont get any errors with that functionality that is still a server error code and if I know why you get that code or your host can tell you what the problem is I might be able to help fix but the email works for me

Big Tom August 25th, 2007 06:58 PM

Yes, I have the same lines here. I added a "print" for the variables that are being used there and $Globals['adminemail'] returns empty. Where is that stored? There is a valid e-mail address in "Global Options"->"Administrator Email Address".

Thanks,
Tom

Chuck S August 25th, 2007 08:22 PM

Yes thats where that value is returned from


All times are GMT -5. The time now is 06:27 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97