Jump to content


Photo

properly configure "sendmail"


  • Please log in to reply
10 replies to this topic

#1 gratzo

gratzo

    Junior Member

  • Member
  • Pip
  • 32 posts

Posted 31 October 2005 - 02:53 AM

I have a small photoblog that will send a short text or html e-mail when a comment is posted. It's similar to the e-mails that are sent when you enable the email notification in a post on this forum.

Trying to enable the sendmail function - I've searched the forum for a specific answer, but was unable to get the specifics to enable the sendmail function. I did locate info on setting up SMTP mail, but my need is more simplistic.

I located the "sendmail_from = me@localhost.com" and the ";sendmail_path =" in the php configuration file, but not sure what to set the parameter to. Also searched on the www.php.net site, and noticed that the file path is typically usr\lib\sendmail, or something similar - not finding a sendmail file within UniformServer's php file...

Would like to enable this function for 2 reasons - 1, to know when a comment is made (duh), and second, to curb any possible comment spam, should that ever be a problem.

Currently using US v3.2a on Win2000 Professional, virtual domain hosting enabled/installed.

Thanks in advance for all of your support and timely answers!

g

#2 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,347 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 31 October 2005 - 09:48 AM

Sendmail is not included in Uniform Server, therfore you cannot use the sendmail function. You have to use the SMTP Option... for now.

We have a new plugin called Fake Sendmail but we are workingon the installers and will get to it soon. Fake Sendmail works just like Sendmail but requires a local SMTP server to connect too...

#3 gratzo

gratzo

    Junior Member

  • Member
  • Pip
  • 32 posts

Posted 31 October 2005 - 01:41 PM

Sendmail is not included in Uniform Server, therfore you cannot use the sendmail function. You have to use the SMTP Option... for now.

We have a new plugin called Fake Sendmail but we are workingon the installers and will get to it soon. Fake Sendmail works just like Sendmail but requires a local SMTP server to connect too...

View Post


Ok, now that I've found the SMTP = localhost and smtp_port = 25, can you show me a quick example of what values I should enter? On the php.net SMTP/sendmail page it shows the default values but nothing else. (such as how to activate it or any sample code). Wondering if I need to install another file to allow SMTP.

I have my own SMTP values from my ISP, just not sure where in the config file I should enter them. :lol:

#4 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,347 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 31 October 2005 - 02:12 PM

umm.. just enter the values of what is being asked? :lol:

SMTP = smtp.yoursmtpserver.com

and so on...? :P

#5 gratzo

gratzo

    Junior Member

  • Member
  • Pip
  • 32 posts

Posted 31 October 2005 - 05:11 PM

umm.. just enter the values of what is being asked?  :lol:

SMTP = smtp.yoursmtpserver.com

and so on...? :P

View Post


It seems that there should be some place that the username/password should go to enable an SMTP message. That's what I'm not seeing. I entered the SMTP server address of my ISP, "smtp.sbcglobal.net", since that's really the only variable that is in the php config file.

All of my current mail goes out through outlook/SMTP via my ISP, off of a shared server - and it seems like some sort of authentication values need to be put in...somewhere???

Has anyone gotten the sendmail function to work with SMTP...and if so, how?

#6 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,347 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 31 October 2005 - 05:19 PM

There isn't any other thing. Give that a try first and see if it works, if it doesn't you may have to open your SMTP server to allow connections without use of username/password.

I will give it a search on Google, but not today.. Currently studing for exam :lol:

#7 gratzo

gratzo

    Junior Member

  • Member
  • Pip
  • 32 posts

Posted 31 October 2005 - 07:52 PM

There isn't any other thing. Give that a try first and see if it works, if it doesn't you may have to open your SMTP server to allow connections without use of username/password.

I will give it a search on Google, but not today.. Currently studing for exam :lol:

View Post


Ok, I think I'm getting it now. I was hoping to be able to point to my current SMTP server, which is my ISP's - but it appears I need my own SMTP server installed with UniformServer. You gave a quick tutorial back in April - I'll look at that (I think you mentioned installing the hmail server)

...bottom line, I need to install a mail server...Is this correct?

On the other hand...since php has a sendmail function in it (somewhere...I think), couldn't I just re-insert that into the php files (again somewhere) and activate it? (You suggested doing this with the EXIF file, hoping to do the same with sendmail) I could be way off base, but it seems like the Uniform Server has many of the features of all of the combined programs stripped out to keep it light and nimble (no dust) - this is one option that would help complete my overall server.

thanks!

#8 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,347 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 31 October 2005 - 08:06 PM

Ye it is. I recommend the hMailServer @ http://www.hmailserver.com

Nah, you can't do that cause PHP does not include Sendmail in the distribution. Sendmail is made by another party and has to be installed seprately. Curently i think they do not make one for Windows or if they do it is not free so we plan to use Fake Sendmail which will be out as plugin soon.

#9 elyk

elyk

    Beta Team Veteran

  • Member
  • PipPip
  • 85 posts
  • Location:Planet Earth
  • SourceForge IDelyk
  • Wiki ID: elyk
  • IRC Nickname: elyk

Posted 03 November 2005 - 03:15 AM

yeah, just use hmailserver. You shouldn't even need your isp's smtp servers; it'll handle it all for you.

#10 gratzo

gratzo

    Junior Member

  • Member
  • Pip
  • 32 posts

Posted 03 November 2005 - 04:01 AM

yeah, just use hmailserver. You shouldn't even need your isp's smtp servers; it'll handle it all for you.

View Post


Thanks - I'll give it a go and report back in this thread if it's a success. - g

#11 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,347 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 04 November 2005 - 09:28 PM

Good Luck




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users