Email error on sign up

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
gonepostal_1
-


Joined: 02 Jun 2004
Posts: 108

PostPosted: Wed Jun 30, 2004 5:22 pm    Post subject: Email error on sign up Reply with quote

Someone tel me if there is a post or if they can give me a sugestion as to why this happens.


Ran into problems sending Mail. Response: 535 Error: authentication failed

DEBUG MODE

Line : 131
File : C:\Program Files\Abyss Web Server\htdocs\forum1\phpbb2\includes\smtp.php

This happens when someone signs up for my forum. In the administartion pages I have email set up. with a hotpop account as per Trustpunks tutorial.
If I am leaving something out let me know.

Thanks
_________________
The Rebel Clan
Unreal Tournament 2004

http://unreal04.no-ip.org
Back to top View user's profile Send private message Send e-mail Visit poster's website
cjsa
-


Joined: 27 Jun 2004
Posts: 12
Location: Halifax, NS

PostPosted: Wed Jun 30, 2004 5:48 pm    Post subject: Reply with quote

I'm not sure if this is your problem but I have been having problems getting php to mail my form info to me. After 3 days of fighting with the code & the php.ini file in windows, I figured out that the server was using the php.ini file in the php folder.

To run a quick test to see if you are having the same problem go to the php folder and rename php.ini to php.bak.

Then try to access a php page on your server, if you get error message that it can't find the page then you need to go back & setup the correct setting in the php.ini file in the php folder.

Confused?
_________________
Thanks in advance,
cjsa
Back to top View user's profile Send private message
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Wed Jun 30, 2004 7:49 pm    Post subject: Reply with quote

gonepostal_1, in your phpBB settings, you are using SMTP authentication, correct? Either you typed the username/password wrong, or the server does not accept SMTP Authentication--in which case you need to remove both the username and password.
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
gonepostal_1
-


Joined: 02 Jun 2004
Posts: 108

PostPosted: Wed Jun 30, 2004 9:58 pm    Post subject: Reply with quote

Tried that. Also tried changing the email adress and server. have gotten various errors.


here is an example of the last error. using the original email. No username password.

Failed sending email :: PHP ::

DEBUG MODE

Line : 234
_________________
The Rebel Clan
Unreal Tournament 2004

http://unreal04.no-ip.org
Back to top View user's profile Send private message Send e-mail Visit poster's website
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Wed Jun 30, 2004 10:57 pm    Post subject: Reply with quote

Edit your php.ini file to change the "SMTP" server, and change the "sendmail_from" line.
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
gonepostal_1
-


Joined: 02 Jun 2004
Posts: 108

PostPosted: Thu Jul 01, 2004 8:43 am    Post subject: Reply with quote

[mail function]
; For Win32 only.
SMTP = smtp.hotpop.com ; for Win32 only
smtp_port = 25
sendmail_from= gonepostal_1@hotpop.com ; for Win32 only

; For Win32 only.
;sendmail_from = gonepostal_1@hotpop.com

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =

is this the area of the php.ini you are talking about?
_________________
The Rebel Clan
Unreal Tournament 2004

http://unreal04.no-ip.org
Back to top View user's profile Send private message Send e-mail Visit poster's website
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Thu Jul 01, 2004 10:09 pm    Post subject: Reply with quote

Yes, that's it. It should look like this:
Quote:
[mail function]
; For Win32 only.
SMTP = smtp.hotpop.com

; For Win32 only.
sendmail_from = gonepostal_1@hotpop.com

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =

Notice I removed those other lines, and uncommented the line under "For Win32 only."
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
gonepostal_1
-


Joined: 02 Jun 2004
Posts: 108

PostPosted: Thu Jul 01, 2004 11:38 pm    Post subject: Reply with quote

ok-I changed it lets see what happens.
_________________
The Rebel Clan
Unreal Tournament 2004

http://unreal04.no-ip.org
Back to top View user's profile Send private message Send e-mail Visit poster's website
WolfRamiO
-


Joined: 30 May 2004
Posts: 121
Location: Viña del Mar, Chile

PostPosted: Mon Jul 05, 2004 10:50 am    Post subject: Reply with quote

install Argosoft mail server and do your own SMTP (localhost) work great and you get a unlimited mail space (your own disk), and a nice webmail too
Back to top View user's profile Send private message Visit poster's website
gonepostal_1
-


Joined: 02 Jun 2004
Posts: 108

PostPosted: Sat Jul 10, 2004 10:15 am    Post subject: Reply with quote

having mail problems again-


Ran into problems sending Mail. Response: 500 #5.5.1 command not recognized

DEBUG MODE

Line : 125
File : C:\Program Files\Abyss Web Server\htdocs\forum1\phpBB2\includes\smtp.php

this is the ini file settings

[mail function]
; For Win32 only.
SMTP = smtp.charter.net
smtp_port = 25
sendmail_from= rebelclan@charter.net



; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =

can someone please help. thanks
_________________
The Rebel Clan
Unreal Tournament 2004

http://unreal04.no-ip.org
Back to top View user's profile Send private message Send e-mail Visit poster's website
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Mon Jul 12, 2004 3:19 am    Post subject: Reply with quote

It might be possible that the SMTP server you're using requires authentication. When you would normally access mail from that SMTP server via an email client, do you have to enable SMTP authentication? If so, keep the php.ini file how you have it, and enable authentication in phpBB.
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
gonepostal_1
-


Joined: 02 Jun 2004
Posts: 108

PostPosted: Mon Jul 12, 2004 4:20 am    Post subject: Reply with quote

no my server does not require smtp authentication.
_________________
The Rebel Clan
Unreal Tournament 2004

http://unreal04.no-ip.org
Back to top View user's profile Send private message Send e-mail Visit poster's website
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Mon Jul 12, 2004 4:30 am    Post subject: Reply with quote

Do you have authentication set up in phpBB?
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
gonepostal_1
-


Joined: 02 Jun 2004
Posts: 108

PostPosted: Mon Jul 12, 2004 5:03 am    Post subject: Reply with quote

I did. got rid of it and it is working fine- thanks

maybe one day I will see the obvious.
_________________
The Rebel Clan
Unreal Tournament 2004

http://unreal04.no-ip.org
Back to top View user's profile Send private message Send e-mail Visit poster's website
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Mon Jul 12, 2004 5:49 am    Post subject: Reply with quote

Hehe... we all miss the obvious sometimes.

Glad you got it working.
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Adam123
-


Joined: 15 Apr 2006
Posts: 36

PostPosted: Tue Apr 18, 2006 9:42 am    Post subject: Reply with quote

WolfRamiO wrote:
install Argosoft mail server and do your own SMTP (localhost) work great and you get a unlimited mail space (your own disk), and a nice webmail too



How do i set it up?
Back to top View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Tue Apr 18, 2006 9:45 am    Post subject: Reply with quote

I wouldnt bother with your own mail server. Your IP will be black listed meaning 90% of the mail you send or get sent wont arrive in your/the recepients mailbox. I run my own mailserver and I have this problem but I have other e-mail addresses for people who want to reach me.

Go with what I said in your original post about the sendmail() function.
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group