Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Newsletter does not work?

Quote Reply
Newsletter does not work?
Everytime I push Newsletter link, I keep getting an error from VirtualAve which is [483320][admin.cgi]process over limit for this account. please try again later. I believe it was working the very first time I installed but I have installed other Mods to the Links v2. Any help on understanding this would be appreciated.

SearchAt!- Directory of Services
http://webbusinessservices.hypermart.net
Quote Reply
Re: Newsletter does not work? In reply to
I just checked newsletter again after finding a new Template.pm to see if this was the problem, Nope.
But what I got was a 500 error with my admin.cgi. It states that it was misconfigured.
The script you were trying to use is misconfigured in some way, and cannot complete the task as it should.
The server is experiencing some technical problems. You should try again shortly.


Premature end of script headers: /data1/va/searchat/cgi-bin/links/admin/admin.cgi


Heres the line for email updates:

elsif ($in{'html_mail_update'}) { &html_mail_update; }# Form to do email updates.


and from what I can figure out it goes to this in admin_html.pl:

sub html_mail_update {
# --------------------------------------------------------
# Figure out who we are mailing to.
#
my $new_links = &build_new_links;
my $subscribers = &build_email_list;
my $subject = "What's new for " . &get_date;

&html_print_headers();
print qq|
<html>
<head>
<title>$html_title: Email Update.</title>
</head>

<body bgcolor="#DDDDDD">

<form action="$db_mail_url" METHOD="POST">
<input type=hidden name="db" value="email">
<blockquote>
<table border=1 bgcolor="#FFFFFF" cellpadding=5 cellspacing=3 width=500 valign=top>
<tr><td colspan=2 bgcolor="navy">
<FONT FACE="MS Sans Serif, arial,helvetica" size=1 COLOR="#FFFFFF">
<b>$html_title: Email Update</b>
</td></tr>
</table>
<p><$font>Mail to:
$subscribers</font></p>
<p><$font>Subject: <input name="subject" value="$subject"></font>
<p><$font>Message:

<textarea name=message rows=40 cols=50>$new_links
--------------------------------------------------------------------
To unsubscribe from this mailing list, just visit:
$build_email_url?action=unsubscribe&email=<%Contact Email%></textarea>
<p><$font><b>Note:</b> <%Contact Email%> will be replaced with the users email address.</font></p>
<p><input type=checkbox name=debug value=1 CHECKED> <$font><b>Debug Mode</b> - No messages will actually be sent!</font></p>
<p><center> <INPUT TYPE="SUBMIT" NAME="mass_mail" VALUE="Send Mass Mail"> <INPUT TYPE="RESET" VALUE="Reset Form"></center></p>
|; &html_footer; print qq| </center>
</form>
</body>
</html>
|;
}

I don't know what is misconfigured but I have been doing lots of changes to this script, so I don't know what I have added or mistakenly took out that would not even make the above form not even come up.

any help in this matter would be greatly appreciated.



SearchAt!- Directory of Services
http://webbusinessservices.hypermart.net