Gossamer Forum
Home : Products : Links 2.0 : Discussions :

??? newsletters

Quote Reply
??? newsletters
When i whant post a newsletter. and validate , it does not receive the mail . I know it because I registered to me same fictitious sites with my various addresses which belong to me. I do not have any error messages...

A solution?

I post here my file links.cfg

# Email Options
# --------------------------------------------------------
# NOTE: Be sure to edit the text of the message. It can be found
# in the templates directory: email-add.txt, email-del.txt and
# email-mod.txt respectively.

# Set only ONE of either $db_mail_path which should go to a
# mail program like sendmail, or $db_smtp_server which will use
# a SMTP server. Do not set both at once!

# PATH of sendmail. # SMTP Server
$db_mail_path = '/usr/sbin/sendmail -t'; $db_smtp_server = '';

# Email address of the administrator. BE SURE TO SET!
$db_admin_email = 'xxxx@xxxx.com';

# Notify visitors automatically when their links are validated?
$db_email_add = 1;

# Notify visitors automatically when their links are modified?
$db_email_modify = 1;

# Log all outgoing messages? Put the full path to a logfile and make sure it
# exists and is writeable (chmod 666 -rw-rw-rw-). This logfile can get pretty
# big!
$db_mailer_log = '';


I am in cobalt, i modified nph ... every fonctioon perfect only problem whit newsletter.....


Quote Reply
Re: ??? newsletters In reply to
*sigh*

I answered a very similar question to this yesterday in the Links 2.0 Installation - UNIX Forum where you should post questions like this that relate to initial installations of LINKS!

Anyway....

Change the following codes:

Code:

$db_mailer_log = '';


to the following:

Code:

$db_mailer_log = '/absolute/path/to/cgi-bin/links/admin/mailer.log';


Change /absolute/path/to/cgi-bin/links/admin to the ASBOLUTE path to the mailer.log file, which should be a blank file uploaded to the admin directory. Change the permission of the mailer.log file to 666 (rw-rw-rw-).

This should've been your first clue:

In Reply To:
# Log all outgoing messages? Put the full path to a logfile and make sure it
# exists and is writeable (chmod 666 -rw-rw-rw-). This logfile can get pretty
# big!
Regards,

Eliot Lee
Quote Reply
Re: ??? newsletters In reply to
Think you for your rapidity..
- In admin i have : (M)-- Mailer.pm
i upload a blank file mailer.log
( 666 )
the path is ..
$db_mailer_log = '/home/sites/site19/web/web/cgi-bin/admin/mailer.log';

the seconde /web/ is directory where is links..
but i put newsletter .. no send ...

Sam... thinks if you possible hlp me..

Ps: Sorry for my english ...i use dictionnary..::))



Quote Reply
Re: ??? newsletters In reply to
Make sure you have de-selected the De-bug option in the Newsletter feature.

Regards,

Eliot Lee