Support > cpg1.5 email

Not sure whats happening with emails

<< < (3/4) > >>

photobombs:
I have just been on with tech support

they say ....
For security reasons, sending e-mail using the internal PHP mail() function is disabled on most of our shared servers.
The mail() function is often used by malicious users on our network to send spam and other unsolicited e-mails.
You will need to switch over to using SMTP authentication for e-mails to work.

SMTP settings are in... but they've definately done something as a different critical error message now

The registration confirmation email can't be send! File: /home/photobom/public_html/register.php - Line: 627


photobombs:
FIXED


http://photobombs.co.uk/admin.php

under "General settings"

Gallery administrator email was admin@photobombs.co.uk

which was incorrect as there was no such email

present on the server

I have changed that to info@photobombs.co.uk

This has fixed the issue

Thanks for help guys

photobombs:
now if only there was a way to re-contact the 1600+ members I missed out on  :(

Αndré:
You can get all email addresses of your inactive users with a script like that:

--- Code: ---<?php

define('IN_COPPERMINE', 1);
require 'include/init.inc.php';

if (!GALLERY_ADMIN_MODE) {
    cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
}

pageheader();

$result = CPG_db_query("SELECT DISTINCT(user_email) FROM {$CONFIG['TABLE_USERS']} WHERE user_active = 'NO' AND user_email != ''");
$email_array = array();
while ($row = mysql_fetch_assoc($result)) {
    $email_array[] = $row['user_email'];
}
mysql_free_result($result);

echo implode(', ', $email_array);

pagefooter();

?>

--- End code ---

Just copy that code to a new file in your gallery root and visit it with your browser while logged in as admin. Then you can copy & paste all email addresses to your favorite mail client and send an email.

ron4mac:
You can delete the two accounts that start with 'rogermac' that I created while trying to look at your email issue.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version