Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Can't send e-mails upon register

Asked Modified Viewed 4,352 times
M
Michael87
M
  • Junior Member, joined since
  • Contributed 17 posts on the community forums.
  • Started 9 threads in the forums
  • Started this discussions
asked
Junior Member

Hello.

My site can't send e-mails to new users upon register - which means no one can register. It just tells them that it can't send the e-mail.

Why is this?

It's not my smtp seeing as I've got another php-fusion site on the same server which can send e-mails and register people without any problems.

I'm pretty lost on this problem.

Thank you in advance.
Edited by Michael87 on 01-04-2007 23:37,
0 replies

9 posts

U
uberman
U
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 2 threads in the forums
answered
Newbie

i had this problem once, it was due to my server host having the php sendmail function disabled
0 replies
M
Michael87
M
  • Junior Member, joined since
  • Contributed 17 posts on the community forums.
  • Started 9 threads in the forums
  • Started this discussions
answered
Junior Member

If that was the case shouldn't the sendmail function also be blocked on my other site which is using the same server and host?
0 replies
M
Michael87
M
  • Junior Member, joined since
  • Contributed 17 posts on the community forums.
  • Started 9 threads in the forums
  • Started this discussions
answered
Junior Member

Any help guys?
0 replies
F
fury88
F
fury88 10
Visit Trance Fury Radio for the best in Trance and Chill. http://www.trancefuryradio.com
  • Junior Member, joined since
  • Contributed 11 posts on the community forums.
  • Started 3 threads in the forums
answered
Junior Member

Any suggestions would help also. I am having the same problem with Windows 2003 and have a dedicated server to use. There shouldn't be anything blocked and the only firewall I have is the Windows firewall for now. I am also using EasyPHP.

Thanks!
0 replies
W
WEC
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
answered
Veteran Member

Are you sure that you configured your server?

In EasyPHP, php.ini you need to configure this section:

;;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;;

[Syslog]
; Whether or not to define the various syslog variables (e.g. $LOG_PID,
; $LOG_CRON, etc.).  Turning it off is a good idea performance-wise.  In
; runtime, you can define these variables by calling define_syslog_variables().
define_syslog_variables  = Off

[mail function]
; For Win32 only.
SMTP = localhost

; For Win32 only.
sendmail_from = me@localhost.com

; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =
0 replies
F
fury88
F
fury88 10
Visit Trance Fury Radio for the best in Trance and Chill. http://www.trancefuryradio.com
  • Junior Member, joined since
  • Contributed 11 posts on the community forums.
  • Started 3 threads in the forums
answered
Junior Member

thanks for the reply. Yes, There isn't much configuration to worry about and I think it defaults to localhost anyway. I switched servers and had this running on my old one. :-/ It might be a config issue with an smtp service?
0 replies
W
WEC
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
answered
Veteran Member

If you use localhost, then i believe that you need to have a mail server installed.

Try to use smtp settings in the configuration. Something like:

;;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;;

[Syslog]
; Whether or not to define the various syslog variables (e.g. $LOG_PID,
; $LOG_CRON, etc.).  Turning it off is a good idea performance-wise.  In
; runtime, you can define these variables by calling define_syslog_variables().
define_syslog_variables  = Off

[mail function]
; For Win32 only.
SMTP = mailblabla.blabla.com

; For Win32 only.
sendmail_from = your_address@blabla.com
0 replies
F
fury88
F
fury88 10
Visit Trance Fury Radio for the best in Trance and Chill. http://www.trancefuryradio.com
  • Junior Member, joined since
  • Contributed 11 posts on the community forums.
  • Started 3 threads in the forums
answered
Junior Member

still no luck. Very odd. I can't seem to track it down. I had the support group set up the SMTP and the only think I can see that didn't do was specifically setup the relay to my host. Everything else seems the same but it still fails. Is there a log from PHP I can see exactly what happened?
0 replies
F
fury88
F
fury88 10
Visit Trance Fury Radio for the best in Trance and Chill. http://www.trancefuryradio.com
  • Junior Member, joined since
  • Contributed 11 posts on the community forums.
  • Started 3 threads in the forums
answered
Junior Member

ok I put a print statement in the code. It says "Could not instantiate mail function". Why, I have no idea. I don't think I have anything out of the ordinary other than the EasyPHP setup. Mail.php is there in the file system.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 9 posts
  • Votes 0 votes
  • Topic users 4 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet