Professional Documents
Culture Documents
Access Denied. Please Contact The Administrator.) : Making To Work. (Fatal Error: Cannot Connect To Database
Access Denied. Please Contact The Administrator.) : Making To Work. (Fatal Error: Cannot Connect To Database
Access Denied. Please Contact The Administrator.) : Making To Work. (Fatal Error: Cannot Connect To Database
if (empty($data['button'])) {
$data['button'] = $GLOBALS['strSubmit'];
}
if (USE_SPAM_BLOCK)
$html .= '<div style="display:none"><input type="text"
name="VerificationCodeX" value="" size="20"></div>';
$html .= '<p><input type=submit name="subscribe" value="'.
$data["button"].'" onClick="return checkform();"></p>
</form><br/><br/>
<p><a href="'.getConfig("unsubscribeurl").'&id='.$id.'">'.
$GLOBALS["strUnsubscribe"].'</a></p>
'.$GLOBALS["PoweredBy"];
$html .= $data["footer"];
to this:
1. in spage Message they receive when they subscribe write Without this confirmation,
you will not receive any messages
[CONFIRMATIONURL]
2. made attributes with LNAME,FNAME from admin main page, attributes and set them
required.
PROCESSING BOUNCES
3) Open your phplist config.php file. It is on your web server. If you installed phplist in the default folder,
it would be:
www.mydomain.com/lists/config/config.php
Use FTP or your web host's control panel to download a copy of this file (config.php) and save it to your
computer. Once you have it, open the file in a text editor. Windows notepad will NOT work. I use
EmEditor Free for stuff like this, which is a great free unicode text editor.
# $message_envelope = 'listbounces@yourdomain';
into this:
$message_envelope = 'no-reply@mydomain.com';
Next, scroll down a bit and enter the information. Replace localhost with your email server (probably
something like mail.mydomain.com), and then replace popuser with the user name that you use to log
in to the new email account (no-reply@mydomain.com) and replace password with the password for
the new account. For example, change the following:
$bounce_mailbox_host = 'localhost';
$bounce_mailbox_user = 'popuser';
$bounce_mailbox_password = 'password';
to this:
$bounce_mailbox_host = 'pop.gmail.com';
$bounce_mailbox_user = 'no-reply@crrc.am ';
$bounce_mailbox_password = 'KcRRc1234';
3.
Note that you SHOULD have received this information (mail server, username, and
password) when you created the new email account no-reply@mydomain.com). This
info is going to be different for everyone. For example, my hosting co uses the "+" sign
instead of the "@" when you log in. Weird.
Now, save config.php and upload it to your web server using FTP or your web host's
control panel. Replace (overwrite) the original config.php in the same folder.
5) Now, go into phplist and create a new list. Add your personal email to this list so you
can check if it works. Also add some email that couldn't possibly exist, like:
somecrazyguy@somereallylongwebsiteurlth ... yexist.com
This way, that email will get bounced and you can see if bounces are working.
6) Send a message to the new list. When you receive it at your personal email address,
check the message header like you did before. You should now see:
envelope-from <no-reply@mydomain.com>)
and
Return-Path: no-reply@mydomain.com
SENDING AN ATTACHMENT
1. You can add as many attachments to your message as you like, but the number listed here
is defined in your config.php file:
# if you use the above, how many would you want to add per
message (max)
# You can leave this 1, even if you want to attach more files,
because
# you will be able to add them sequentially
define("NUMATTACHMENTS",1);