https in emails https in emails
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

https in emails

Started by olegario, November 10, 2003, 07:27:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

olegario

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!

Joachim Müller

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

olegario

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.

Joachim Müller

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

olegario

Thanks!  That works perfectly...

Great product...was a linpha user, but starting to really like the coppermine tools...