https in emails https in emails
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

https in emails

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

Previous topic - Next topic

0 Members and 2 Guests 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...