Admin is not receiving email form Eshop
Autore: Richard RozehnalHello team,
I'm facing very strange problem on our webpages -> http://www.boardstix.eu/
This is small eshop, everything working just fine except i'm not receiving orders from eshop.
When customer made a order from our webpages, he is going thru all steps which needs to be complete to make a order. However customer on the order will receive email with all details ( which products, how many, bank acount , shipping address etc. so all what is set in this webpage or in website x5), but i don't receive any order. I'm pretty sure that email address which needs to be set up in step 4 in website x5 is correct ( ***). Test email ( from domain) is working. also tried different providers, but with same results - customer will receive the email form order, but I don't , tried also used different email adress , for example @gmail - no luck (worked before perfectly)
I've got latest version of Website x5 10 proffesional
Can you please check and advise
Best Regards
Thanks
Richard
Hi Richard, I sent an email to you, let me know if it works properly or not...
Autore
Hi Gabriel,
can you sent it to richardrozehnal@ ? please
***?
Autore
I got it now, checked my colleague postbox and got this :
Hi, I'm just trying if thsi email address works properly to consider eshop process only. Answer me if it works properly. By, Gabriele
...ok, I received your answer, and probably something of you eshop setting is made in a wrong manner; have you checked your admin panel? have you done all tests? and, finally, whet about your php version?
Autore
PHP version is 5.3 I can upgrade it until 5.7 , i think all tests has been done , checked almost everything and used different setings with same result. Rechecked everything many times. While is was trying to solve this issue, was checking in the meantime websitex5 forum and found few people had similar problem like me, but that was in 2012 . i guess there might problem with licence of wbsitex5. Not sure, but that's why i need someone from IT website team if they can check my issue. Already loosing my head and not going forward with this issue. :) but any ideas are always welcomed.
ok, wait for someone of Incomedia...
Autore
No licence problem, that was mistake from my side :D
Autore
ImEmail form, looks like this :
<?php
if(substr(basename($_SERVER['PHP_SELF']), 0, 11) == "imEmailForm") {
include '../res/x5engine.php';
$form = new ImForm();
$form->setField('YOUR NAME', $_POST['imObjectForm_9_1'], '', false);
$form->setField('EMAIL ADDRESS', $_POST['imObjectForm_9_2'], '', false);
$form->setField('STREET ADDRESS', $_POST['imObjectForm_9_3'], '', false);
$form->setField('COMPANY/STORE', $_POST['imObjectForm_9_4'], '', false);
$form->setField('CITY', $_POST['imObjectForm_9_5'], '', false);
$form->setField('POSTAL CODE', $_POST['imObjectForm_9_6'], '', false);
$form->setField('WEBSITE', $_POST['imObjectForm_9_7'], '', false);
$form->setField('OPTOINS OF DEALER', $_POST['imObjectForm_9_8'], '', false);
$form->setField('ADDITIONAL NOTES', $_POST['imObjectForm_9_9'], '', false);
if(@$_POST['action'] != 'check_answer') {
if(!isset($_POST['imJsCheck']) || $_POST['imJsCheck'] != 'jsactive' || (isset($_POST['imSpProt']) && $_POST['imSpProt'] != ""))
die(imPrintJsError());
$form->mailToOwner('***', '***', '', '', false);
@header('Location: ../index.html');
exit();
} else {
echo $form->checkAnswer(@$_POST['id'], @$_POST['answer']) ? 1 : 0;
}
}
// End of file
Autore
Finally got this issue solved. I disabled CSV format while sending order to admin ( so that's me) probably issue with php version, if i am using now 5.3 which is the lowest which i can use at this moment. I might to check again with my server provider, what to do if i like to receive also CSV style in email , webiste x5 team can you confirm, or there is someting else that should be adjusted in website x5 ?
Many thanks anyway ;)
Hello Richard,
If without the CSV file the email arrives then probably on the hosting server it's not allowed to send emails with attachments. Try to contact the hosting support so they can tell if if it is possible to receive attachments with the PHP mail() function and in case if there are any limitations.
Many thanks!