Gossamer Forum
Home : Products : Links 2.0 : Customization :

Multiemailer send mail trouble

Quote Reply
Multiemailer send mail trouble
Hello

I've installed the excellent Glenn's Multiemailer mod,
but i've got some troubles.

The sender doesn't receive any email...
It's strange because i don't have any sendmail trouble with tell a friend 1 or 2.

Any idea?

Thanks Laugh

Ciao

Quote Reply
Re: Multiemailer send mail trouble In reply to
I'll have a look over it again this weekend and make some changes.

Good Luck!

Glenn


http://findarom.emusanet.com/comments3/
Quote Reply
Re: Multiemailer send mail trouble In reply to
Yep found the problem. For some reason I'd put &success; in the validation sub.
This means it's been validating and then putting the user to the success page before sending the mail!

To alter it just go into multiemailer.cgi cut &success; out of the validation sub and paste it at the bottom of the mail_it sub.

This will solve the problem.

Good Luck!

Glenn


http://findarom.emusanet.com/comments3/
Quote Reply
Re: Multiemailer send mail trouble In reply to
Hello Glenn

Thanks a lot for your quickly reply Laugh

I've tried what U've said but, now i've got an error 500...
Premature end of script headers: /home/c03531/cgi-bin/links/cgi-bin/multiemailer.cgi


Perhaps i've made a mistake...
Please find the end of your multiemailer.cgi that i've altered :

sub mail_it {
# --------------------------------------------------------

require "$db_lib_path/Mailer.pm";
my $mailer = new Mailer ( { smtp => $db_smtp_server,
sendmail => $db_mail_path,
from => $from,
subject => $subject,
to => $to,
msg => $msg,
log => $db_mailer_log
} ) or return;
$mailer->send or return;
&success_page;
}

sub validate_it {
# --------------------------------------------------------
my $receiver = $in{'receiver'};
my $rname = $in{'rname'};
($receiver =~ /.+@.+\..+/) or &error_page ("The email address: '$receiver' doesn't look like a real email address.") and return;
($rname =~ /[A-Za-z]+/) or &error_page ("Please enter their name as well as their email address.") and return;
my $sender = $in{'sender'};
my $sname = $in{'sname'};
($sender =~ /.+@.+\..+/) or &error_page ("The email address: '$sender' doesn't look like a real email address.") and return;
($sname =~ /[A-Za-z]+/) or &error_page ("Please enter your names as well as your email address.") and return;
# Check to make sure that there is an admin email address defined.
$db_admin_email or &cgierr("Admin Email Address Not Defined in config file!");
my $to = $in{'receiver'};
my $from = $in{'sender'};
}


Thanks again for your mods and your help Laugh

ciao

Quote Reply
Re: Multiemailer send mail trouble In reply to
I've the same problem!!!!!!
Thanks again for your mods

Quote Reply
Re: Multiemailer send mail trouble In reply to
Hi Glennu

While checking out the mulitemailer, I also tried to download http://findarom.emusanet.com/...s3/categorylinks.zip, but I kept getting a 404. Is this available?

Thanks.

Quote Reply
Re: Multiemailer send mail trouble In reply to
Yeah sorry my fault, I had named the zip displaycookie.zip instead of categorylinks.zip. I've renamed the zip now so it's available.

I installed multiemailer for a site the other day and fixed a few things that were giving problems and it worked fine. I'll post it on my site soon.

Good Luck!

Glenn


http://findarom.emusanet.com/comments3/
Quote Reply
Re: Multiemailer send mail trouble In reply to
Thanks Laugh
Thanks Laugh
Thanks Laugh
Glenn

Quote Reply
Re: Multiemailer send mail trouble In reply to
Hello Glenn,

Have U posted a new release of your script on your site?

Thanks
ciao

Quote Reply
Re: Multiemailer send mail trouble In reply to
Have U posted a new release of your script on your site?

No sorry.

I'll post it next week because I'm at home and don't have ftp access at home.

Good Luck!

Glenn


http://findarom.emusanet.com/comments3/
Quote Reply
Re: Multiemailer send mail trouble In reply to
Thanks Glenn Laugh



Quote Reply
Re: [jude] Multiemailer send mail trouble In reply to
Has anyone got this script to email yet ?
Quote Reply
Re: [stu2000] Multiemailer send mail trouble In reply to
hello

i've multiemailer.cgi from january 2001. i think it's the bug-version because mails do not recive.
is there anybody who has a newer one or can tell me how i fix my multiemailer.cgi ??

great software Smile

thx4all
mic