PDA

View Full Version : Error when sending emails


Armands
2-21-07, 04:52 AM
I use this code to send out confirmation emails

mail($email, $subject, $message, $senders_email);

Evrything worked fine. Then I needed to raise my email quota and emailed powweb detailed information. They raised my limit but after that i see this error in my cgi error logs when email is sent out.


sh: line 3: size:: command not found
sh: line 2: day:: command not found

Can you help me? What I do wrong? And how to fix so that error won't appear all the time?
By the way emails sends out without problem, just error in logs.

Thanks in advance,
Armands

IanS
2-21-07, 05:11 AM
Goto OPS and check the relative allocations of space between web-space and e-mails. You may find (just as others have) that your settings take you over quota. This is easily resolved by lowering the webspace setting. You can't allocate 300Gb to webspace and 200Mb to e-mail. The total must be less than 300Gb.

Armands
2-21-07, 05:44 AM
Yeah it seems that there were some problems with quota.

Here is what i recieved from Powweb support

-----------------------------------------------------
Hello Armands,
Thank you for contacting us.
I am writing this with respect to the ticket #2278988.
We apologize for any inconvenience this has caused you. It appears that you are using
shell commands in your scripts which are causing these errors. Could you please correct
the scripts from your end? If the issue still persists, please get back to us with the
exact URL.
If you have any further questions, please don't hesitate to contact us. We are available
24x7.

Sincerely,

<<Name Removed>>
Technical Specialist

Armands
2-21-07, 07:12 AM
Yes my settings were over quota.
I changed them, but still error appears.
Any ideas what else could couse that?

snowmaker
2-21-07, 08:04 AM
Changes to quota settings don't take effect right away.
Note: PowWeb updates its disk usage records every night at 2:00 AM (Eastern Standard Time). Click Refresh to get an updated result.
From https://members.powweb.com/webControl/DiskQuota.bml