gratzo Posted October 31, 2005 Report Share Posted October 31, 2005 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 Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted October 31, 2005 Report Share Posted October 31, 2005 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... Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
gratzo Posted October 31, 2005 Author Report Share Posted October 31, 2005 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. Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted October 31, 2005 Report Share Posted October 31, 2005 umm.. just enter the values of what is being asked? SMTP = smtp.yoursmtpserver.com and so on...? Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
gratzo Posted October 31, 2005 Author Report Share Posted October 31, 2005 umm.. just enter the values of what is being asked? SMTP = smtp.yoursmtpserver.com and so on...? 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? Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted October 31, 2005 Report Share Posted October 31, 2005 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 Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
gratzo Posted November 1, 2005 Author Report Share Posted November 1, 2005 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 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! Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted November 1, 2005 Report Share Posted November 1, 2005 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. Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
elyk Posted November 3, 2005 Report Share Posted November 3, 2005 yeah, just use hmailserver. You shouldn't even need your isp's smtp servers; it'll handle it all for you. Quote Link to comment Share on other sites More sharing options...
gratzo Posted November 3, 2005 Author Report Share Posted November 3, 2005 yeah, just use hmailserver. You shouldn't even need your isp's smtp servers; it'll handle it all for you.1751[/snapback] Thanks - I'll give it a go and report back in this thread if it's a success. - g Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted November 5, 2005 Report Share Posted November 5, 2005 Good Luck Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.