Bird on the Hand
New Member
92 Posts Pre-sales questions only (More Details...)
|
Posted - 08/31/2017 : 08:38:31
Using your php email trouble shooting guide at https://www.ecommercetemplates.com/help/email-help.asp
It does not seem to tie up well with the page link https://github.com/PHPMailer/PHPMailer
There is no sidebar There is a button "Clone or download" which gives an option to download zip This downloads PHPmailer-master
Having extracted files I can find none of the 3 files you specify class.phpmailer.php class.smtp.php PHPMailerAutoload.php
|
Andy
ECT Moderator
95440 Posts |
Posted - 08/31/2017 : 09:41:30
|
Bird on the Hand
New Member
92 Posts Pre-sales questions only (More Details...)
|
Posted - 08/31/2017 : 13:33:20
Hi Andy
Thanks. Glad it's not be being my usual dim self.
The entries for the includes.php are listed as
$usemailer='phpmailer'; $smtphost='smtphostname'; // will usually be 'mail.yourbusiness.com'; $smtpusername='smtpuser'; // will be your business email address, the same as you entered in the ECT admin panel Main Settings page. // your email account Password. $smtppassword='smtppassword'; $smtpport=587; $emailfromname="Your Business Name"; //
Should these be the $GLOBALS['admindateformat']=2; type format?
|
Sinbad
ECT Moderator
USA
65937 Posts |
Posted - 08/31/2017 : 15:18:32
|
EllenD
Advanced Member
United Kingdom
434 Posts |
Posted - 10/20/2017 : 04:57:42
I have the exact same question, so hope it's OK to hop on this thread. I got the latest download from Github, unzipped and put SMTP.php and PHPMailer.php into vsadmin/inc. When I try 'email a friend' I get this error
Warning: include_once(./inc/class.phpmailer.php): failed to open stream: No such file or directory in /var/sites/t/mysite.co.uk/public_html/vsadmin/inc/incfunctions.php on line 1880
I have latest ECT 6.8 with no mods. Is it making a call to class.phpmailer.php? This file no longer seems to be part of the phpmailer download.
Thank you for any help! Ellen
|
Andy
ECT Moderator
95440 Posts |
Posted - 10/20/2017 : 06:15:26
|
EllenD
Advanced Member
United Kingdom
434 Posts |
Posted - 10/20/2017 : 09:16:50
Thanks Andy, I'll try that. It looks like the link here will need updating again then https://www.ecommercetemplates.com/help/email-help.asp
As someone suggested in the sticky post, it would be great if the necessary files could be included in ECT updater. SMTP authentication is required by most hosts now I think so it would be a real benefit if this could be included in the ECT setup. Hopefully not that much more trouble than updating the help page every time it changes ;)
Thank you Ellen
|
Andy
ECT Moderator
95440 Posts |
Posted - 10/20/2017 : 09:22:42
|
EllenD
Advanced Member
United Kingdom
434 Posts |
Posted - 10/20/2017 : 10:21:15
Andy, I have been doing lots of testing with 'email a friend' and now its not working, even with the original settings. I think I remember there is some sort of 'throttling' to reduce spam and wonder if I have hit that limit? If so, any way to 'clear' it? The form submits with no error, but the proddetail.php remains behind the grey overlay, and 'inspect' shows this error: Failed to load resource: proddetail.php the server responded with a status of 403 (Forbidden)
Could this be the problem or have I just broken it?
thanks! Ellen
|
Sinbad
ECT Moderator
USA
65937 Posts |
Posted - 10/20/2017 : 11:04:20
Hi Ellen, there is a built in limit on how many emails can be sent open emailfriend.php and look around line 20 you can increase the number for testing after testing you can reduce it back. Getting 403 forbidden is a permissions issue, can you ask your host to white-list emailfriend.php I just went through this with hostgator, I just let them know that there is built-in security features to prevent the form from being spammed, the other thing to do is enable captcha as outlined here https://www.ecommercetemplates.com/help/admin-main.asp#recaptcha and let them know that is enabled for the form as well. Winners never quit, quitters never win CSS and Responsive DesignsUser Manual for Ecommerce Templates
|
EllenD
Advanced Member
United Kingdom
434 Posts |
Posted - 10/23/2017 : 07:50:34
Thank you Sinbad, think it's all sorted now. I had reached the limit, was obviously a bit too keen testing!
|
|
|