Click to See Complete Forum and Search --> : NEED SOME HELP PLEASE! PHP AND SMTP.


mabans
05-14-2001, 09:36 AM
Ok, first off wanna thanks Ed Reily for putting me on about Fox Serv, because it made it rediculously easy for me to have Apache, PHP and MySQL running on my Win2k Pro Machine.

Now I have run into another problem. Well Mail functions. I know I have to change the PHP.ini where it says:

[mail function]
; For Win32 only.
SMTP = (must fill this in but with what?!?!)

; For Win32 only.
sendmail_from = m.abans@verizon.net

So I know how they work and junk but I can't PHP to talk to my SMTP. Now I'm almost 100% sure that I am doing it absolutely wrong. I'm using IIS 5's SMTP to handle STMP stuff. I was also recommened FTgate can do a good job also, so I do have it handy incase I have to install it.

Now some info to clear up some gen question about what I'm doing.

I'm using Zone Edit for the DNS and Mail Sevrer (MX)

I'm using Windows 2000 Pro

With FoxServ for my Apache, PHP, and MySQL setup.

Now what should I do:

Should I continue to try to setup a SMTP Server from My Machine?

Do I even need to set one up?

If I do need to setup a SMTP Server how do I it? (i tried but I can't get it)

Is there a place with good documentation about this?

Any would be awesome. Thanks.

toma42
05-14-2001, 11:49 AM
SMTP = mail_server_name_or_ip

mabans
05-14-2001, 12:09 PM
Problem is I don't know how to set up the SMTP server on my win2k machine.

peterluk
05-15-2001, 07:29 AM
Sorry for jumping in! Do you have direct connection or behind proxy/firewall. You can enter your ISP's SMTP server as arguement for SMTP under Mail directive (it works for me, my ISP doesn't authentic on SMTP).
Happy hacking :)

Anon
05-15-2001, 09:34 PM
It sounds to me that you're trying to make your machine a mail server, which isn't needed for this. For example; when I had MSN as my ISP, I set:

SMTP = smtp.email.msn.com

Or whatever they're SMTP was. As long as the targeted SMTP doesn't verify the sender, it's good to go. Just set it to a remote SMTP server and you should be good.

mabans
05-22-2001, 06:59 PM
I've tried that and it doesn't work.

Anon
05-22-2002, 01:09 PM
Hi!

I read the message which you have sent, infact I am also doing the same thing of using smtp through flash application,. don't know if your advice will work, if it works I will surely let you know. Meantime if you suggest me some other way I will be very happy.


Thanks

Dilip