Re: mail function ubelievably slow
| From: | Aziz Saleh | Date: | Sat, 28 Dec 2013 12:35:29 +0000 |
| Subject: | Re: mail function ubelievably slow | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-322628@lists.php.net to get a copy of this message | ||
If your hostname is not fully qualified host name, sendmail will delay
sending the email ~60 seconds.
On Sat, Dec 28, 2013 at 7:28 AM, Carsten Jensen <tomse@tomse.dk> wrote:
> On 12/28/2013 12:46 PM, Gregor Leskovšek wrote:
> > it takes a minute to send mail via php mail function. What can I do? What
> > is wrong? Can somebody please help me?
> > It started with an old kubuntu computer, than I moved my server to I5
> > processor with 4 GB RAM and I noticed it again some time ago ...
> > Thanks in advance, Gregor
> >
> > ♥♥♥ When the sun rises I receive and when it sets I forgive! ♥♥♥
> > http://gleskove.userworld.com/
> > <http://moj.skavt.net/gleskovs/> ♥
> > Always, Gregor Leskovšek
> >
>
> asuming you're using settings in php.ini
>
> [if you're using smtp server settings]
> * Is DNS lookup slow?
> * Have you tried checking the speed smtp server?
> see if you can send a mail manually by telnetting to the
> smtp server (google how to if you don't know how to do this).
>
> Same goes for the sendmail server too ofc.
>
> /Carsten
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>