|
-
Jan 25th, 2007, 07:41 PM
#1
Thread Starter
Fanatic Member
Mail() Function Help
hi guyz,
why would sending email locally stop working?
am running APACHE+PHP+MYSQL+MERCURY on localhost...and have been sending emails fine.
but it stopped working recently!!!
can someone tell me why?
-
Jan 26th, 2007, 10:13 AM
#2
Re: Mail() Function Help
Have you checked any related error logs? (Possibly Apache/Mercury)
-
Jan 27th, 2007, 12:53 AM
#3
Re: Mail() Function Help
 Originally Posted by modpluz
hi guyz,
why would sending email locally stop working?
am running APACHE+PHP+MYSQL+MERCURY on localhost...and have been sending emails fine.
but it stopped working recently!!!
can someone tell me why?
All-In-One packages are bad!
My usual boring signature: Something
-
Jan 27th, 2007, 01:48 PM
#4
Re: Mail() Function Help
who said he had an all-in-one package?
and why would you say they were bad, anyway?
-
Jan 28th, 2007, 04:34 AM
#5
Re: Mail() Function Help
 Originally Posted by kows
who said he had an all-in-one package?
and why would you say they were bad, anyway?
All-in-one 'magic' packages are generally bad because they do not always have the latest versions of each product, they often tweak the configurations of the products so that they behave in unusual ways, and experience using them does not help when you need to work with a system that has the products installed individually.
That having been said, however, the OP didn't say that he was using one.
Like mendhak, I would check any error logs, and whether any ISP settings have changed.
-
Jan 29th, 2007, 06:57 AM
#6
Thread Starter
Fanatic Member
Re: Mail() Function Help
 Originally Posted by penagate
All-in-one 'magic' packages are generally bad because they do not always have the latest versions of each product
whether they have the latest version is not the issue(as i have said its been working for over 6 months)
 Originally Posted by penagate
using them does not help when you need to work with a system that has the products installed individually.
i wouldn't know about that(i have Win XP Pro SP2)
 Originally Posted by penagate
Like mendhak, I would check any error logs
it keeps saying pending(i.e if i send mail twice it says "2 messages pending")
 Originally Posted by penagate
and whether any ISP settings have changed.
how can i check that?
and moreso, i'm running it locally(does this have anything to do with the ISP?)
thanks
-
Feb 4th, 2007, 07:42 PM
#7
Thread Starter
Fanatic Member
-
Feb 4th, 2007, 09:08 PM
#8
Re: Mail() Function Help
are you sure that the server is started?
My usual boring signature: Something
-
Feb 6th, 2007, 07:53 AM
#9
Re: Mail() Function Help
 Originally Posted by modpluz
hi guyz,
why would sending email locally stop working?
am running APACHE+PHP+MYSQL+MERCURY on localhost...and have been sending emails fine.
but it stopped working recently!!!
can someone tell me why?
You have probably installed a piece of software that prevents the mail transfer agent from making connections on port 25 / even bind to port 25. Something like a personal firewall would probably do that.
-
Feb 7th, 2007, 05:36 PM
#10
Thread Starter
Fanatic Member
Re: Mail() Function Help
 Originally Posted by visualAd
You have probably installed a piece of software that prevents the mail transfer agent from making connections on port 25 / even bind to port 25. Something like a personal firewall would probably do that.
ok i turned off the "Windows Firewall" and restarted the webserver and the mailserver, but it still won't work.
-
Feb 8th, 2007, 01:31 PM
#11
Re: Mail() Function Help
Can you send mail manually through the it?
-
Feb 8th, 2007, 11:55 PM
#12
Junior Member
Re: Mail() Function Help
Did your mail server start ? or setup well ?
otherwise try to use phpmailer , more option that u can use
-
Feb 10th, 2007, 01:29 PM
#13
Thread Starter
Fanatic Member
Re: Mail() Function Help
 Originally Posted by visualAd
Can you send mail manually through the it?
No(it gives no error but it doesn't go
 Originally Posted by cc96ai
Did your mail server start ? or setup well ?
otherwise try to use phpmailer , more option that u can use
even phpMailer doesn't send the message(i have tried it)
this is drivin me nuts
-
Feb 11th, 2007, 12:34 AM
#14
Junior Member
Re: Mail() Function Help
maybe u can post some configurataion setting ,
rightnow we only know thats not working , no error message,
some further information it might help to narrow down the problem
-
Feb 11th, 2007, 03:37 AM
#15
Re: Mail() Function Help
 Originally Posted by modpluz
No(it gives no error but it doesn't go
even phpMailer doesn't send the message(i have tried it)
this is drivin me nuts
The fact that the mail is queued means that it has been successfully delivered to the server. Hence no error message.
The problem is occurring when delivering the mail. This could be due to several reasons.
- A DNS problem preventing the sever resolving the MX records for domains.
- A Firewall blocking communications to the Internet on port 25. This could be on your PC, your router or down to your ISP.
If you hunt around you can probably find the logs generated by Mercury and see exactly which one it is.
-
Feb 14th, 2007, 07:33 AM
#16
Thread Starter
Fanatic Member
Re: Mail() Function Help
 Originally Posted by visualAd
A Firewall blocking communications to the Internet on port 25. This could be on your PC, your router or down to your ISP.
that's what am thinking and thats why i turned off the "Windows Firewall" but its still not working.(and it ought to be my PC, cause am running it locally)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|