June 27, 200619 yr comment_3356 i always get and error asking about SMTP and SMTP Port and no matter what i change in the php.ini i cant use the mail function, any help would be very much appreciated Report
June 27, 200619 yr comment_3358 i always get and error asking about SMTP and SMTP Port and no matter what i change in the php.ini i cant use the mail function, any help would be very much appreciated I have seen this problem raised on a number of forums what you are looking for is an SMPT server. I assume you are either learning PHP or want to test your programs locally. I am in the process of writing a guide purely to cover this situation using UniServer. This will be out in about a week or two. However if you need the info more quickly and have the experience take a look at this page http://www.burrotech.com/om_steps5.php . They have produced an ideal solution to this problem and for free. To run something like this: <?php $mailaddress = "admin1@fred.com"; $mailsubject = "Another test"; $mailbody = "Hello, world! Again"; mail($mailaddress, $mailsubject, $mailbody);?> From a clean install of Office Mail.Leave all the defaults as they are and perform the next two steps: 1) Click Users: Set up a user named admin1 password admin12) Click on local distribution and + (add) enter: Mail address: admin1@fred.com To user enter: admin1 Thats all you need to do, run your PHP program and the mail will be received in Office Mail. Check it out if Office-Mail not displayed click its icon bottom right in the system tray. All the best Report
June 28, 200619 yr comment_3362 What have you set for the SMTP, sendmail_from and sendmail_path directives in your php.ini, have you commented any of them? If I remember correctly, you should have sendmail_path commented if you're using Windows. Report
June 28, 200619 yr Author comment_3365 you guys ROCK!!!!!!!!!!!!!!!!!!!!!! for some reason, my php.ini file had the sendmail path un commented so once i commented it I stopped recieveing the SMTP error, and with OFFICE MAIL I am now receiving the mail I sent duringm y local code testing.......... much thanks!!!!!!!!! Report
June 28, 200619 yr comment_3368 No problem. I wonder if Fake Sendmail mentioned in this thread by Olajide works with sendmail_path, considering php.ini labels that as "for UNIX only". Report
June 29, 200619 yr comment_3384 "I am in the process of writing a guide purely to cover this situation using UniServer. " Finished can be found here: http://www.center.uniformserver.com/ Report
July 9, 200619 yr comment_3471 Yes, Fake sendmail works with the sendmail_path function in the php.ini.... Edited July 9, 200619 yr by olajideolaolorun Best Regards Olajide Olaolorun The Uniform Server Development Team Report
July 10, 200619 yr comment_3493 A while ago... (14:40:36) Alley^Away: Do you know if sendmail_path works on Windows with Fake Sendmail?(14:40:56) no idea(14:41:07) fake sendmail as hooking it up with win's own?(14:42:32) No(14:42:48) http://glob.com.au/sendmail/(14:43:17) ok, not the slightest(14:43:35) Ok (14:48:20) oh, this even requires a real smtp(14:48:44) isn't there a small real smtp forwarder exe for win on SF somewhere? If anyone finds that "small real smtp forwarder exe for win" AlleyKat was talking about, please inform me, here or in a private message Report
July 11, 200619 yr comment_3509 Best Regards Olajide Olaolorun The Uniform Server Development Team Report
December 6, 200619 yr comment_3981 Damn, dude, you should have asked when I was online at some point... http://www.blat.net/ (Blat)http://emailrelay.sourceforge.net/ (possible other like it) I don't think it was either of these I've run across at some point, but I'm on the other hand quite sure theres a link to it here in the forums somewhere... Report
December 6, 200619 yr comment_3989 Hi AlleyCat (Again) Seems as if I am chasing you around today not intended. Taken a quick look at the above link found the material interesting well documented and worth a read. I like alternatives and this is another good one to add to anyone’s bag of goodies. My write-up of Mercury is similar in that it performs E-Mail relaying however what may be more significant is code size EmailRelay is smaller than Mercury which weighs in at around 4Mb with all components. Report
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.