Message Board

   Importing Data File
   Into GoldMine
   Into Act



   Custom Programming

   PHP Version

Other Favorites

   Hire a clean comedian

   Bible Search Engine

   Bible in a Year

   Parallel Bible

   The Richer Life


[ Message Board Home ]    [ Post Reply ]    [ Log In ]    [ Sign Up ]

  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] 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.


  Subject: Re: cant' call method 'mail'?
  Posted: 03/02/2004 at 2:44:02 pm
  By: PenguinJr


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: mrchuckhall

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!


  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.


Reply To This Topic

Due to unrelated post's, you must have an
account to post a message. To Sign Up click here.

Copyright 2000-2010 Seth M. Knorr,
BizMailForm.com Forms Processor, All Rights Reserved