Jump to content

mail() takes forever to send.


optikalefx

Recommended Posts

my server is using sendmail, but it takes about 60 seconds to send.  And by send, i don't mean to recieve the message.  I just have a simple mail call, and when i hit that page it takes about 60 sec to return a result to me.

 

I look for a while on what might be causing, but i can't seem to find anything that i can test out.

Anyone ever have this know whats going on?

Link to comment
Share on other sites

I don't really care how long it takes for the email to send.  I do care that the php script takes 60 seconds to return meaning, the server is busy for 60 sec, meaning the user will think something is wrong and leave the page while email is trying to send.  Plus you can't load the main website while the server is processing.

 

Something has to be wrong because i've never had this happen before.

Link to comment
Share on other sites

using mamp, I don't think its going through an smtp server, i never set one up.

Its important for me to note, that the mail never gets received on my mac, but on the server it does. Which shouldn't happen. So im thinkings there something wrong with both my machine and the server.

 

Yeesh. Maybe port 25 is blocked, ill check.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.