Forum Moderators: open

Message Too Old, No Replies

SMTP config question.

         

astinov

2:20 am on Jan 14, 2005 (gmt 0)

10+ Year Member



Hello all,

I'm using Microsoft IIS server and I am quite new to it, although I have extensive experience in web design and coding.

The problem is the following.

I created a simple html and php e-mail system. You just write a comment your name etc and it should send it to my e-mail. The purpose was just to see how it would work. Well, it didn't work quite as i expected. The scripting seems to be fine. I get no error messages no nothing. But the e-mails are never delivered. So i went into the intepub/mailbox/mailroot/queue and I saw the messages just staying there.

My question is:

How do I configure the SMTP server to actually send the messages? I have it running, everything seems to be fine, but I just don't know why it doesnt actually send the messages. Can anyone help me out?

Thanks

duckhunter

2:01 pm on Jan 14, 2005 (gmt 0)

10+ Year Member



Is your SMTP Service running?

astinov

5:05 pm on Jan 14, 2005 (gmt 0)

10+ Year Member



yes it is running. That's what makes it do weird :&

beauzero

10:44 pm on Jan 20, 2005 (gmt 0)

10+ Year Member



if you are hosting more likely than not they have
smtp relaying turned off. If that's not the case then whatever user id you are running the script under doesn't have permission to send.

try creating a simple .eml file (look up mime format) and you will see its basically all text with the header visible, etc. Drop it in the folder while you are logged in as admin or whatever your user account is and see if it sends.

let me know.

sharbel

4:00 pm on Jan 22, 2005 (gmt 0)

10+ Year Member



Make sure your SMTP server is configured for Relaying properly.

Also, make sure PHP is configured properly to send emails. I just setup PHP on one of my servers for a client and my "gotcha" was that I forgot to set a line in the php.ini that was stopping the emails from being sent.

I think if your messages are making it to the queue though, your PHP setup might not be the issue. Check your relay settings...