Forum Moderators: coopster & phranque

Message Too Old, No Replies

Email Form but no sendmail

Email Form but no sendmail

         

littlemissbuilder

10:35 am on Sep 30, 2002 (gmt 0)

10+ Year Member



I'm not a programmer so am struggling with this a bit - my host has stopped us using sendmail in our cgi scripts so a script that once worked no longer does on my site (I used this one - [bignosebird.com...]

Are there other ways of sending the contents of a form in a formatted email without using sendmail? I see SMTP is referred to in this bnbform but is that as an alternative to sendmail as I couldnt get this to work either?(I am using a free host which up until now seemed really good so can't really complain much!)

lorax

2:12 pm on Sep 30, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hello,
Sendmail is actually a server mail program. If the host removed it then they probably replaced it with some other mail program. You need to know what that mail program is before you can modify the script to use it.

SMTP is not a program itself. It's the protocol that regulates communications between mail servers.

andreasfriedrich

2:24 pm on Sep 30, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You need to know what that mail program is before you can modify the script to use it.

This is true for anything except windows where you just need the dns name of the server and a lot of luck that everything will work out all right.

The path to sendmail or its replacement should be set in the php.ini configuration file. Calling phpinfo() from a php script to view the settings.

Andreas

littlemissbuilder

2:31 pm on Sep 30, 2002 (gmt 0)

10+ Year Member



Thanks. I'll ask them.
Would I be right in thinking that if the sendmail program is "broken due to excess usage by spammers" (as they have told me) that I couldn't post through SMTP also?

andreasfriedrich

2:47 pm on Sep 30, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You are right. Itīs either sendmail or substitute on *nix OR separate mail server on windows.

Andreas

lorax

2:55 pm on Sep 30, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Would I be right in thinking that if the sendmail program is "broken due to excess usage by spammers" (as they have told me) that I couldn't post through SMTP also?

Yup. But if they're telling you Sendmail is "broken" as opposed to uninstalled then you're probably dead in the water. I interpret that statement as they've either experienced someone pushing tons of spam through their mail server and haven't banded that IP/host or have been hacked and haven't figured out to fix it. Either way, Sendmail may still be installed but disabled.

littlemissbuilder

8:20 am on Oct 1, 2002 (gmt 0)

10+ Year Member



Thanks. I think it's probably time to move hosts then - apparently sendmail works if you have the enhanced service, which, funnily enough, has a fee attached!