Jump to content
The Uniform Server Community

properly configure "sendmail"


gratzo
 Share

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

1671[/snapback]

 

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:

Link to comment
Share on other sites

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

 

SMTP = smtp.yoursmtpserver.com

 

and so on...? :P

1696[/snapback]

 

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?

Link to comment
Share on other sites

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:

Link to comment
Share on other sites

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:

1708[/snapback]

 

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!

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...