Advanced search  

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

Pages: [1]   Go Down

Author Topic: https in emails  (Read 3227 times)

0 Members and 1 Guest are viewing this topic.

olegario

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
https in emails
« 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!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
https in emails
« Reply #1 on: November 10, 2003, 08:46:30 pm »

edit /include/mailer.inc.php and edit
Code: [Select]
$CONFIG['smtp_host'] = '';
$CONFIG['smtp_username'] = '';
$CONFIG['smtp_password'] = '';
if the default values don't work for you.

GauGau
Logged

olegario

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
https in emails
« Reply #2 on: November 10, 2003, 09:50:40 pm »

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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
https in emails
« Reply #3 on: November 10, 2003, 10:13:04 pm »

sorry, I got you wrong then. To change http to https, edit ecard.php and find
Code: [Select]
   $gallery_url_prefix = 'http://' . $HTTP_SERVER_VARS['HTTP_HOST'] . $gallery_dir . (substr($gallery_dir, -1) == '/' ? '' : '/');

Cheers

GauGau
Logged

olegario

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
https in emails
« Reply #4 on: November 11, 2003, 01:55:07 am »

Thanks!  That works perfectly...

Great product...was a linpha user, but starting to really like the coppermine tools...
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.