PHP SMTP Server for windows !

Problems with the Windows version of XAMPP, questions, comments, and anything related.

PHP SMTP Server for windows !

Postby phpkar » 23. November 2006 22:35

Hi Apahce friends
I have wrriten a Simple SMPT server for windows that can enable mail() function in windows platforms :
http://php45.com/smtp
you can use it with yout apache for windows !
phpkar
 
Posts: 5
Joined: 23. November 2006 22:24

Re: PHP SMTP Server for windows !

Postby Izzy » 24. November 2006 00:02

phpkar wrote:Hi Apahce friends
I have wrriten a Simple SMPT server for windows that can enable mail() function in windows platforms :
http://php45.com/smtp
you can use it with yout apache for windows !

This is in a closed source .exe file format. Not sure about just running a .exe file without being able to trust or check it's content with a reliable test site.

How about an open source version in a zip archive as an alternative to running a .exe file to install it.

Do you have a link to the open source code you mention in the readme.txt file included in the zip archive?
This programs was written in PHP Programming language . you can find source of this software on sourceforege.net
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby WorldDrknss » 24. November 2006 05:09

You can already use php mail() function with XAMPP. If you looked inside the XAMPP Folder you will see a sendmail folder. Inside this folder is an .exe file that will allow you to use php mail() with a minor alternation to php.ini and sendmail.ini files.

http://www.glob.com.au/sendmail/
http://xampptutorials.com/modules.php?name=faqs#28
http://wdguides.org - XAMPP Tutorials & MORE!!!!
User avatar
WorldDrknss
 
Posts: 292
Joined: 17. September 2005 13:40

Postby phpkar » 24. November 2006 09:31

I created a Project on sourceforge.net but yet it has not been approved yet . as soon as approved I aware you at this page .
phpkar
 
Posts: 5
Joined: 23. November 2006 22:24

Postby phpkar » 24. November 2006 09:48

WorldDrknss wrote:You can already use php mail() function with XAMPP. If you looked inside the XAMPP Folder you will see a sendmail folder. Inside this folder is an .exe file that will allow you to use php mail() with a minor alternation to php.ini and sendmail.ini files.

http://www.glob.com.au/sendmail/
http://xampptutorials.com/modules.php?name=faqs#28


yes , I had seen that but it is not portable . the sendmail.exe must be in usr/bin/ from root drive .
but SMTP server is portable and can run from anywhere .
phpkar
 
Posts: 5
Joined: 23. November 2006 22:24

Postby Wiedmann » 24. November 2006 13:10

yes , I had seen that but it is not portable . the sendmail.exe must be in usr/bin/ from root drive .

That's wrong. As you can see, in XAMPP the "sendmail.exe" is in "\xampp\sendmail" and not "\usr\bin". And it's working...

BTW:
There is one big difference between sendmail.exe and your SMTP-server. It's not a routing MTA (direct connection to the target server) as yours. Because many servers don't accept mails from dial-up connections. And thus "sendmail.exe" uses the SMTP relay of your ISP to prevent this problem.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby phpkar » 25. November 2006 10:03

Wiedmann wrote:
yes , I had seen that but it is not portable . the sendmail.exe must be in usr/bin/ from root drive .

That's wrong. As you can see, in XAMPP the "sendmail.exe" is in "\xampp\sendmail" and not "\usr\bin". And it's working...

BTW:
There is one big difference between sendmail.exe and your SMTP-server. It's not a routing MTA (direct connection to the target server) as yours. Because many servers don't accept mails from dial-up connections. And thus "sendmail.exe" uses the SMTP relay of your ISP to prevent this problem.


at first thanks for your idea
3 differnce beetween sendmail.exe and SMTP server :

1- There is no differnce beetween Dile-up or any other connections to send mail through sendmail.exe or SMTP server . what is your refernce to your opinion?
2-sendmail.exe opens a command line window when you use mail() function after each use of mail() function .
3-you must change your php.ini sendmail.exe path when you want to use sendmail.exe on CD-ROM or USB-Flash disk but when you use SMTP Server you can send mail from CD-ROM or USB or any other path without any change of php.ini
4- my main goal for writing this SMTP server was using of it on Read-only disks without any changes need to windows registery , php.ini , ...
phpkar
 
Posts: 5
Joined: 23. November 2006 22:24


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 135 guests