|
| A R C H I V E D M E S S A G E |
|
Subject: cant' call method 'mail'? |
| Posted: 03/02/2004 at 3:17:38 am |
| By: PenguinJr |
| Hi guys,
I'm trying to test the script on my local server.
This is the error message that I get when I try submitting the form.
[Tue Mar 02 22:04:26 2004] [error] [client 127.0.0.1] Can't call method "mail" on an undefined value at C:/Program Files/Apache Group/Apache2/cgi-bin/bizmail.pl line 844.
, referer: http://localhost/enquiries.html
I've defined the smtp server, and the sendto.
Any help will be greatly appreciated | |
|
|
Subject: Re: cant' call method 'mail'? |
| Posted: 03/02/2004 at 7:50:34 am |
| By: Seth Knorr |
| It could be that either SMTP is not setup properly on your server or Net::SMTP is not setup, or your server in general may not be setup properly.
Seth | |
|
|
Subject: Re: cant' call method 'mail'? |
| Posted: 03/02/2004 at 2:44:02 pm |
| By: PenguinJr |
| Hm..
Isnt this the only smtp that I need to setup?
#---------- S M T P S E T T I N G S ----------#
## $smtp_server is your smtp server address for sending email off your server. ##
$smtp_server = "smtp.mail.optusnet.com.au";
I'm new in this whole smtp thing.. or e-mail using this method in general.
And when you say the server in general is not setup properly, which bits of the server are you referring to?
>.<
Thanx in advance for the help | |
|
|
Subject: Re: cant' call method 'mail'? |
| Posted: 04/04/2004 at 9:37:59 pm |
| By: PenguinJr |
| One host I have ("ActiveServerHosting")blocks SMTP. It wants authentication. If you simply supply "mail.mydomain.com", or "smtp.mydomain.com", and your server is set up to require authentication, you'll get this error. At least, I got this error. You might poke around you hosts "Support" section and see if they say something about it. I found my info by doing a search on "SMTP" in my host's Knowledge Base.
One of their suggestions was to use your ISP's smtp setting instead of your host's.
Good luck!
CH | |
|
|
Subject: Re: cant' call method 'mail'? |
| Posted: 04/05/2004 at 5:56:58 am |
| By: Seth Knorr |
| Yes, what CH said is correct.
But to clearify, when I was referring to SMTP setup on your server I meant. The actualy software installed on your server that the systems administrator sets up; May not be either setup, or configured, or as CH says it may require authentication.
If it requires authentication this script does not curently support it.
Seth | |
|
|