Question: |
Good!Guys! Can`t find the error. The form looked far and wide. Errors no longer see, but the form is not sent.Check your settings.The website http://asfarm-med.ru/zapishis.htmlКод form:Name Not filled in!\";echo \"back to form\";exit;}elseif (empty($email)){echo \"field is Not filled e-mail!\";echo \"back to form\";exit;}elseif (empty($phone)){echo \"field is Not filled phone\";echo \"back to form\";exit;}elseif (empty($mess)){echo \"Not empty!\";echo \"back to form\";exit;}else$headers = `MIME-Version: 1.0` . \"\\r\\n\";$headers .= `Content-type: text/html; charset=UTF-8` . \"\\r\\n\";$to = \"val76@newmail.ru\"; //$to = \"asfarm_09@mail.ru\"; $charset = \"UTF-8\";$subject = \"Request from website asfarm-med.ru\";$message = \"\\Pima $name \\ne-mail: $email \\Telefon $phone \\pricina treatment $mess\";$send = mail ($to,$subject,$message);if ($send == `true`){echo \"Message sent! \";echo \"Click to return to Main page\";}else{echo \"Error! The message has not been sent.\";}?> |
Answer: |
Hello. Why did you Boolean the value enclosed in quotes? if ($send == `true`) Get them. |
Answer: |
please Wait, your issue is being dealt with. |
Answer: |
try to specify a different mailbox |
Question: |
Quotes removed - if ($send == true)Writes: the message was sent, but the letter never comes. |
Answer: |
on which box you sent? |
Question: |
79169697368@ya.ru |
Answer: |
You tried to send to another mailbox? |
Question: |
Yes, it`s another box. |
Answer: |
and on asfarm_09@mail.ru is not it? |
Question: |
There is not sent. Sent another val76@newmail.ru Also not come. |
Answer: |
the problem is checked |
Answer: |
please Check now.
|
Question: |
Yesterday`s letter came just today. Came appropriately to SPAM. Sent from the email address val76@coil.dnsline.ru |
Answer: |
mail sent mail often gets caught in spam, it is better to use smtp |
Question: |
And sent the email now when comes? |
Answer: |
what is the box now sent? |
Question: |
79169697368@ya.ru |
Answer: |
on this box the mail is not sent. as you sent it? |
Question: |
From the form on the page http://asfarm-med.ru/zapishis.html |
Answer: |
this form is attached to your script? she sends mail to this email? |
Question: |
One of those came. Why delay this? |
Question: |
Why in your form you cannot send files? |
Question: |
Earned! |
Answer: |
ok
|
Question: |
So what`s all the same? |
Answer: |
now we don`t changed |
Question: |
And initially? Not counting the errors in my form? Why letters didn`t come immediately? And how to make the emails not being marked as SPAM? |
Answer: |
letters can be queued by the receiving server. them we have no logs |