Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Problem With Php Mail (sendmail) Function...


8 replies to this topic

#1 stefan_pavikevik

    Member [Level 2]

  • Kontributors
  • PipPipPipPipPip
  • 84 posts
  • Gender:Male
  • Location:Spain and sometimes - Macedonia (depends)
  • Interests:Computers, Spain, Apple Inc, Internet, Linux, Mac OS X, Beta Testing, Guitar, and etc... Note me for more.
  • myCENT:NEGATIVE[-23.89]

Posted 04 April 2009 - 10:53 AM

I have vBulletin 3.8.1 Installed on my Server. But I have problems with sendmail (PHP Mail exactly). When somebody registers, vBulletin tries to send mail to the E-mail address provided by the user, but nothing. The mail is not sent. I suspect that something is wrong with Sendmail (PHP Mail in this case). Can somebody help me for fixing this stupid problems?
Thanks in advance. :)
Edit: I forgot, my Server is running Fedora 10.

Edited by stefan_pavikevik, 04 April 2009 - 10:55 AM.


#2 jlhaslip

    Insert Custom Title Here

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,040 posts
  • Gender:Not Telling
  • Location:Linux, DOS and Windows…the good, the bad and the ugly
  • myCENT:81.07
  • Spam Patrol

Posted 04 April 2009 - 01:07 PM

Do you have a Mail Server installed?
Can you send an email from a script other that the one giving you trouble?

#3 stefan_pavikevik

    Member [Level 2]

  • Kontributors
  • PipPipPipPipPip
  • 84 posts
  • Gender:Male
  • Location:Spain and sometimes - Macedonia (depends)
  • Interests:Computers, Spain, Apple Inc, Internet, Linux, Mac OS X, Beta Testing, Guitar, and etc... Note me for more.
  • myCENT:NEGATIVE[-23.89]

Posted 04 April 2009 - 04:19 PM

No. I tried different sripts, but no one works. Can somebody tell me what is the problem, and how to fix it?

#4 jlhaslip

    Insert Custom Title Here

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,040 posts
  • Gender:Not Telling
  • Location:Linux, DOS and Windows…the good, the bad and the ugly
  • myCENT:81.07
  • Spam Patrol

Posted 04 April 2009 - 04:37 PM

you need to install a Mail Server.
Google mercury mail, for example.

#5 truefusion

    Coincidence is non-sequitur, therefore everything has a reason for its existence (except if they are eternal).

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3,216 posts
  • Gender:Male
  • Location:No, not there. Not there either. Yes, you'll never figure it out.
  • Interests:God, Christianity.
  • myCENT:86.16

Posted 04 April 2009 - 09:41 PM

I use Postfix for my mail server. It should be available in the Fedora repository. After configuration, PHP should have no problem sending mail. Configuration is basically answering about three questions—that's one reason why i use it: easy installation.

#6 stefan_pavikevik

    Member [Level 2]

  • Kontributors
  • PipPipPipPipPip
  • 84 posts
  • Gender:Male
  • Location:Spain and sometimes - Macedonia (depends)
  • Interests:Computers, Spain, Apple Inc, Internet, Linux, Mac OS X, Beta Testing, Guitar, and etc... Note me for more.
  • myCENT:NEGATIVE[-23.89]

Posted 05 April 2009 - 12:42 PM

View Posttruefusion, on Apr 4 2009, 11:41 PM, said:

I use Postfix for my mail server. It should be available in the Fedora repository. After configuration, PHP should have no problem sending mail. Configuration is basically answering about three questions—that's one reason why i use it: easy installation.
I installed it, but it doesn't works for some unknown reason. It doesn't starts. Do I need to set some other configurations?

#7 truefusion

    Coincidence is non-sequitur, therefore everything has a reason for its existence (except if they are eternal).

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3,216 posts
  • Gender:Male
  • Location:No, not there. Not there either. Yes, you'll never figure it out.
  • Interests:God, Christianity.
  • myCENT:86.16

Posted 05 April 2009 - 08:34 PM

View Poststefan_pavikevik, on Apr 5 2009, 08:42 AM, said:

I installed it, but it doesn't works for some unknown reason. It doesn't starts. Do I need to set some other configurations?
Fedora is known for not activating programs for you, or at least back when i used it i would always have to start Apache myself, so i would assume the same for something like Postfix. During the installation its configuration script should have activated; if it didn't, then you'll have to figure out how to run that script. But if you did configure it, then it could be that it's not running in the background or that you configured it (unknowingly) to be limited only to your network and not extending to the internet. I'm not sure how Fedora handles programs like Postfix, so you'll have to do research on that.

#8 rjraaz

    Newbie [Level 1]

  • Kontributors
  • Pip
  • 22 posts
  • Gender:Male
  • Location:india
  • Interests:reading books, writing, software designing hardware
  • myCENT:1.72

Posted 29 December 2009 - 09:02 PM

View Poststefan_pavikevik, on Apr 4 2009, 10:53 AM, said:

I have vBulletin 3.8.1 Installed on my Server. But I have problems with sendmail (PHP Mail exactly). When somebody registers, vBulletin tries to send mail to the E-mail address provided by the user, but nothing. The mail is not sent. I suspect that something is wrong with Sendmail (PHP Mail in this case). Can somebody help me for fixing this stupid problems?
Thanks in advance. :)
Edit: I forgot, my Server is running Fedora 10.

You can use gmail smtp server to send emails and if you need any more help reply

#9 djwray

    Newbie

  • Kontributors
  • Pip
  • 5 posts
  • Gender:Male
  • Location:Australia

Posted 31 March 2010 - 01:38 AM

I have a PHP Contacts form. I was using another hosting company and nothing worked. When the user pressed Send on the contacts form, the PHP code looked for the email address of the "sender" on the local server. If it didn't find it then it didn't continue. Neither the sender or the receiver gets an email so the owner (me) never gets to find out if somebody visited their site. Hopefully this will all work according to plan if I get my site up and running at Trap17.

Good luck,

DJ ;)




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users