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: email FROM?  (Read 5772 times)

0 Members and 1 Guest are viewing this topic.

Cel

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
email FROM?
« on: December 23, 2006, 07:37:25 pm »

I've recently installed Coppermine on one of my sites hosted by Fasthosts:

http://www.tickhillhistorysociety.org.uk/gallery1106

It's on Windows 2003, and everything is working fine except email.

Turned off the login option (with the plugin) as we don't require users to register, and only 'Comments' is available, but Admin is not receiving email notification of comments despite it being set to do so (not logged is as Admin when testing).

For security, Fasthosts require that email sent from a domain has a 'From' address related to that domain. The gallery admin people have name@tickhillhistorysociety.org.uk addresses.

This is the generic advice I found at Fasthosts:

***
Use the PHP mail function and set the mail from using the following line of code -

replacing email@mydomain with the correct domain name.

ini_set("sendmail_from", " email@mydomain ");

***

I guess if I really have to do this, it is somewhere in mailer.inc - though being a non-PHP person (more familiar with ASP) I'm slightly at a loss, but as this is the advice of the hosts, I thought it better to check this out before the SMTP option.

Thanks for reading - I hope that made sense.
« Last Edit: February 28, 2007, 06:49:16 am by GauGau »
Logged

Cel

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: email FROM?
« Reply #1 on: February 27, 2007, 06:13:32 pm »

Solved - changing all the admin emails did it, though being an admin, any comments I made to test were not emailed (dunno why) but when genuine comments came through we got the notification. Trouble is now spam  ;)
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: email FROM?
« Reply #2 on: March 06, 2007, 03:56:26 pm »

Tip: search for captcha plugin
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.