hello all, could you help me to solve the problems, they are :
1. when i send email to administrator using contact page, the error message is " mail sending error"
2. when i try to order, the notification comes to administrator NOT, also to the customer.
Thanks in advance.
Regards, Jasmine
wizzud
2006-02-23 17:25
What version of Quick.Cart? What plugins (if any) do you have installed? What operating system are you running on? Windows/IIS? or Linux/Apache? What version of PHP is your web server running?
If you are running without the relevant plugin(s) then Quick.Cart will only send order notification to Admin - it does not send order notification to customers.
jamz
2006-02-24 03:31
Thanks for reply,
1. i use the latest QC and have intalled at www.gcf.co.id/qc (for the temporary).
2. It runs on Linux/apache
3. PHP 4.4.1 (is taht problem ?, because i can not change the php version due to i'm not the owner of the server, i just rent space)
Regards, Jasminine
wizzud
2006-02-24 12:12
Ok, I'm stumped now. What you've got is the mail function working ok for orders but not for the contact form, and I can't see what the difference is (except for an uppercase 'FROM' for orders compared to 'From' for contact,which shouldn't make any difference whatsoever!).
jamz
2006-02-25 03:42
how do you know that mail fuction ok for the order ? i still got notification of new order in my mailbox.
Yesterday i contact webmaster and ask me to use the code, but i do not know how to use it since i'm new at php.
Of course, You should replace the above values with the real ones - e.g. MY_SITE is the name that will appear in the from field, MAIL_BOX is the valid email address from Your domain and MAIL_PSW is the password for this mailbox.
This is the rest of the code that actually sends the mail:
//---------------------------------------------------------------------------- ------------------------ function server_parse($socket, $response) { //---------------------------------------------------------------------------- ------------------------ while(substr($server_response,3,1)!=' ') { if(!($server_response=fgets($socket,256))) die("Couldn't get mail server response codes"); }
if(!(substr($server_response,0,3)==$response)) die("Ran into problems sending Mail. Response: $server_response"); }