forum.coppermine-gallery.net
Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: olegario on November 10, 2003, 07:27:02 pm
-
I'm very new to Coppermine, and I really like the product. I'm testing the email sending option, and I'm having some issues with it. I'm running my site over https, but the links and pics are sent to the http address. I changed the setting the config tab, but still doesn't work. Any help would be appreciated. Thanks!
-
edit /include/mailer.inc.php and edit
$CONFIG['smtp_host'] = '';
$CONFIG['smtp_username'] = '';
$CONFIG['smtp_password'] = '';
if the default values don't work for you.
GauGau
-
Actually, I'm talking more about the actual body of the email that gets sent. The link in the body which goes to "If the e-card does not display correctly, click this link" goes to an http site, as opposed to my https site. Also, the images within the body of the email don't work because they point back to an http site.
-
sorry, I got you wrong then. To change http to https, edit ecard.php and find
$gallery_url_prefix = 'http://' . $HTTP_SERVER_VARS['HTTP_HOST'] . $gallery_dir . (substr($gallery_dir, -1) == '/' ? '' : '/');
Cheers
GauGau
-
Thanks! That works perfectly...
Great product...was a linpha user, but starting to really like the coppermine tools...