kingfisher
Advanced Member
United Kingdom
278 Posts Pre-sales questions only (More Details...)
|
Posted - 04/21/2018 : 03:49:45
Hi, I am having problems with the store not sending confirmation emails when an order is placed, and email friend is not working either. (php 6.8.1)
To be honest, it may be something I have done, as i tried to implement PHPMailer, and couldn't seem to get it working so I reverted back to standard (or so I thought).
This is what the relevant bit of includes looks like
$emailfromname="Rock Factory Ltd"; // "from" name to appear at top of message $htmlemails=TRUE; $customheaders="MIME-Version: 1.0\r\nFrom: %from%\r\nReply-To: %replyto%\r\nContent-type: text/html; charset=iso-8859-1\r\n"; $emailorderstatus=3;//jr $useemailfriend=TRUE; $useaskaquestion=FALSE; $inlinepopups=TRUE;
$orderstatusemail="Your order id %orderid% from %orderdate% has been updated from %oldstatus% to %newstatus% on %date%";//jr - removed reference to %statusinfo% $alwaysemailstatus=TRUE; //jr
if that information helps.
When I try Email friend, the product detail screen greys out, and sticks there - the site is frozen.
I have been through the relevant emailhelp pages, but no success.
Hope you can help,
regards
John
Mac OSX 10.13.4 Safari 11.0.1 ECTplus v6.8.1php Servelink
|
Vince
Administrator
42835 Posts |
Posted - 04/21/2018 : 03:59:59
|
kingfisher
Advanced Member
United Kingdom
278 Posts Pre-sales questions only (More Details...)
|
Posted - 04/21/2018 : 04:09:56
Hi Vince, thanks for the prompt reply.
Where would I find error logs?
"The first thing to check is that the SMTP server is set up correctly for PHP on your host. "
How do I do that? A bit more info on this would be helpful. I am with Servelink.
John
Mac OSX 10.13.4 Safari 11.0.1 ECTplus v6.8.1php Servelink
|
Andy
ECT Moderator
95440 Posts |
Posted - 04/21/2018 : 04:14:40
Hi John Servelink recommend using phpmailer, the details you need are here https://servelink.com/clients/index.php?rp=/knowledgebase/24/How-do-I-configure-my-ecommerce-template-PHP-store-e-mail.html Andy Please feel free to review / rate our software
|
kingfisher
Advanced Member
United Kingdom
278 Posts Pre-sales questions only (More Details...)
|
Posted - 04/21/2018 : 04:23:19
OK Andy, thanks.
I will have a go at PHPmailer again.
John
Mac OSX 10.13.4 Safari 11.0.1 ECTplus v6.8.1php Servelink
|
kingfisher
Advanced Member
United Kingdom
278 Posts Pre-sales questions only (More Details...)
|
Posted - 04/21/2018 : 06:48:38
So.....
I have installed phpmailer according to Servelink's instructions. I have put the three files into vsadmin/inc ( i only have one vsadmin), and here is the email bit in includes ....
// Email Options
$usemailer='phpmailer'; // use phpmailer instead of PHP mail() function $smtphost='ukmail.servelink.com'; // mail host name, could also be ukmail.servelink.com for UK clients $smtpport='587'; // mail submission port $smtpusername='general@rockfactory.co.uk'; // valid e-mail account for authentication $smtppassword='xxxxxxx'; // password for that account (not really just for the purposes of this post) $emailfromname="Rock Factory Ltd"; // "from" name to appear at top of message
$htmlemails=TRUE; $customheaders="MIME-Version: 1.0\r\nFrom: %from%\r\nReply-To: %replyto%\r\nContent-type: text/html; charset=iso-8859-1\r\n"; $emailorderstatus=3;//jr $useemailfriend=TRUE; $useaskaquestion=FALSE; $inlinepopups=TRUE;
$orderstatusemail="Your order id %orderid% from %orderdate% has been updated from %oldstatus% to %newstatus% on %date%";//jr - removed reference to %statusinfo% $alwaysemailstatus=TRUE; //jr
The email friend (and presumably email status) still doesn't appear to be working.
Just to clarify, the greyed out proddetail page is greyed out to highlight the email friend popup, after entering the email stuff in there, the pop up disappears (as it should), but leaves behind the greyed out background, which is unresponsive.
Any ideas?
John
Mac OSX 10.13.4 Safari 11.0.1 ECTplus v6.8.1php Servelink
|
Phil
ECT Moderator
United Kingdom
7702 Posts |
Posted - 04/21/2018 : 07:10:53
|
kingfisher
Advanced Member
United Kingdom
278 Posts Pre-sales questions only (More Details...)
|
Posted - 04/21/2018 : 07:30:57
Thanks Phil, great news - what browser are you using?
I am on a mac with Safari - could that be the problem ????
Mac OSX 10.13.4 Safari 11.0.1 ECTplus v6.8.1php Servelink
|
Andy
ECT Moderator
95440 Posts |
Posted - 04/21/2018 : 08:02:38
|
kingfisher
Advanced Member
United Kingdom
278 Posts Pre-sales questions only (More Details...)
|
Posted - 04/21/2018 : 08:36:30
Hi Andy, no, it's not in trash or junk.
Why does the site freeze after cllcking on 'Send" - is there a clue there?
Anyhow I am going to have to leave this for now, as I am out of the office til Tuesday, thanks for your help so far
John
Mac OSX 10.13.4 Safari 11.0.1 ECTplus v6.8.1php Servelink
|
1818charlie
ECT Moderator
United Kingdom
1197 Posts |
Posted - 04/21/2018 : 09:47:07
Good afternoon John,
I've tried the email a friend from the rock factory website using the latest Chrome, Microsoft Edge & Firefox. Clicked the send button a nothing happens, all the fields remain completed. Clicking the Close Window results in nothing happening.
Update @ 18.05 - I've just tried it again and the same happens when clicking send, but, when clicking on close window I then see a message saying recommendation sent. I have tried it a second time and it worked spot-on, I received an email straight away.
Steve Bolton, Lancashire, United Kingdom. Using ECT PHP versions since 2004
"Make it as simple as possible, but not simpler."
Edited by - 1818charlie on 04/21/2018 10:08:26
|
kingfisher
Advanced Member
United Kingdom
278 Posts Pre-sales questions only (More Details...)
|
Posted - 04/24/2018 : 04:13:20
Thanks Charlie
Must be something my end I suppose, still not working for me.
Oh well at least it seems to work for others, thanks everyone for your help
John
Mac OSX 10.13.4 Safari 11.0.1 ECTplus v6.8.1php Servelink
|
|
|