If that function is slow, your server has a problem with mail. Contact your web host and tell them that the PHP mail() function is running very slowly.
It's possible they may require the -f parameter or some such non-standard option, but normally you'd get a 500 error instead of slowness in that case.
It's sends emails. I consider it vital to be able to send emails, I like people to know of approval/rejection and be able to subscribe, I like to require email validation etc etc, but perhaps you don't. You can remove each line (I believe there are two) that contain "mail(" to disable it, but I don't see much point in a server which can't send email.
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on sendqueuemail
Beginner
Usergroup: Customer
Joined: Sep 06, 2005
Total Topics: 4
Total Comments: 6
Hello everyone,
My links site is very slow. My provider found out that it is the function sendqueuemail in the file commonfuncs.php that causes the trouble.
I've added the lines:
echo "start function: ". date('Y-m-d H:i:s');
and
echo "stop function: ". date('Y-m-d H:i:s');
And it always takes about 2 minutes to get through this function. But this function is called through every page, so it's not workable.
this is my website:
www.ter.nl/links/index.php
Can anyone help please?
Cheers
LotusE
Beginner
Usergroup: Customer
Joined: Sep 06, 2005
Total Topics: 4
Total Comments: 6
nobody ???
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
If that function is slow, your server has a problem with mail. Contact your web host and tell them that the PHP mail() function is running very slowly.
It's possible they may require the -f parameter or some such non-standard option, but normally you'd get a 500 error instead of slowness in that case.
Beginner
Usergroup: Customer
Joined: Sep 06, 2005
Total Topics: 4
Total Comments: 6
Can I disable the function in any way in WSN Link? What does it do and is it vital for the system?
Cheers
LotusE
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
It's sends emails. I consider it vital to be able to send emails, I like people to know of approval/rejection and be able to subscribe, I like to require email validation etc etc, but perhaps you don't. You can remove each line (I believe there are two) that contain "mail(" to disable it, but I don't see much point in a server which can't send email.