[ back to toc ]

birdcast cgi script

Date: 2002/01/11 05:16

Q:
I'm trying to create a web page with "send to a friend" script.I am using
the birdcast cgi script from bignosebird.com.I am using apache as a local
host server 1.3.20 and perl.I use a ASDL line for my internet
connection,but I am using the apache server to test my pages before I
launch them.Everything works perfectly except that when I use the "send to
a friend script" to any email account,the script is called perfectly, but
the mail is not sent.I don't get any any error messages.The birdcast
script says the following :

$SMTP_SERVER is the name of your e-mail gateway server, or
# SMTP host. On most systems, "localhost" will work just fine.
# If not, change "localhost" to whatever your ISP's SMTP
# server name is, ie, smtp.isp.net or mail.isp.net

---- I have changed it to $SMTP_SERVER=mailhost.terra.es; which is the
ISP's STMP.

However, if this does not work the birdcast script asks you to to use the
follwojng line :

/usr/lib/sendmail -t

but this is not anywhere on my computer. Please help,the discussion board
dedicated to this script has provided no answers. I am sure what to do.

Thank you

*NAME-DELETED* *NAME-DELETED*
A:
I woukld recommend that you enclose the name of the SMTP server between '
characters, like:

$SMTP_SERVER='mailhost.terra.es';

This is because it has to be a string. Try it that way.

If you have Linux on your server then you can install sendmail easily
using the package manager. The package manager is system dependant. On Red
Hat it is called rpm, on Debian dpkg and so on.

If you use Windows NT then you do not have sendmail and you will not.

You should be able to use the SMTP version of mail sending.

Regards,
Peter

Q:
Thanks Peter for your fast reply, I appreciate it.Unfortnately I have
tried what you advised. The outgoing address of my ISP email server is
mailhost.terra.es. My default email client is windows 98 Outlook Express,
does this effect anything or do I need to add my personal email address
that I have with the ISP somwhere in the script. Thanks again if you have
any ideas on the cause of the problem.

A:
Some SMTP servers are configured not to accept a mail from client having
different sender address in it than the one assigned to that client. If
you get your IP address using DHCP then the mail address domain can only
be checked. Try to alter the script so that the sender is the same eMail
address that you use in your Outlook Express.

Regards,
Peter

[ back to toc ]