Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFMAIL question

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi CF gurus!
I just started to learn CF, so please be patient if the question seems simple.
I'm trying to send email through my local SMTP server.
I'm running W2K server(as stand-alone server, not PDC)and SF Server 4.5 and CF Studio 4.5.
I configured CF Server to send email, using local SMTP server at 127.0.0.1.
I've done it through CF Server Administrator with connection verification and it kept saying that CF is connected to the specified server. I tried localhost,127.0.0.1,server2000(which is my server's NetBIOS name) - nothing worked.
All messages end up in "Udelivr" folder and don't go anywhere else.
What am I doing wrong? I'm almost sure that this is SMTP server configuration problem. Or, is it?
I'd really appreciate any help on this.
Thank you.
 
If the CF admin doesn't report an error when you verify the mail server, it is most likely working and the problem probably lies with your mail server config. Can you post some of the errors from the CF mail log? This will likely give a clue as to what's happenning between CF and your mail service.

GJ
 
Hi, GunJack
thank you for response.
I'm running IIS 5.0 on W2K Adv.Server(configured as stand-alone server) with SMTP Virtual Server installed. I also have a laptop running W2K Professional with IIS 5.0 and SMTP Virtual Server installed. These two machines make my LAN, and are members of workgroup. What I'm trying to accomplish is to send an email from .cfm template being executed on W2K Adv.Server machine(server2000), to the recipient(client2000), which is laptop.
CF is able to connect to SMTP server - I checked it with CF Server Administrator - without any problems. But email doesn't go anywhere, but Undelivr folder.
Well, it's not exactly the case: when I'm sending email to the laptop - it appears first in "Spool" folder and then gets sent somewhere. I suppose - to my laptop; I just cannot find it there. But when I'm trying to send email to, say my hotmail.com account, it goes from "Spool" right to "Undelivr".
In the log following information is recorded:
"Error","TID=128","04/24/01","00:25:45","Failed to send the spooled mail file, C:\CFUSION\MAIL\spool\7D.cfmail. SMTP server replied "5.7.1 Unable to relay for sgluzberg@hotmail.com" Moved file to C:\CFUSION\MAIL\undelivr\7E.cfmail."
Which is strange, because as I said earlier CF connects to mail server OK, I do have an Internet connection, but still it goes "Spool" --> "Undelivr".
And one more question: SMTP server is outgoing server. Does that mean that I have to have incoming server installed to get incoming messages?
Thanks again.
 
The error message "Unable to relay for sgluzberg@hotmail.com" is a mail server error and indicates that the mail server CF is connecting to will not accept and forward mail to that hotmail account. In the early days, mail servers would usually accept mail for anyone and send it on (relaying). Today however spammers/bulk mailers have abused this so much that mail servers are usually configured only to accept mail for their users or mail that their users send. You'll need to look at your mail server config to fix it so that it accepts your mail.

As for the "outgoing" question, an outgoing server is usually the smtp server you'll use to send your messages through. An incoming server is a mail server running the Pop service that allows you to check your mail. SMTP handles taking mail you're sending and getting it to the recipient and it also handles receiving mail others send you and putting it in your mailbox. A pop or "incoming" server handles checking your mailbox and sending your mail messages to your e-mail program like "Eudora" or "Outlook".

Hope this helps,
GJ

 
GJ,
of course, all the information is helpful.
Could you, please, just tell what particular settings I should check? I suppose I have to do it from IIS management console?
And one more thing: I found messages sent to my laptop in Inetpub/mailroot/mailbox folder. I suppose I have to somehow retrieve them and in order to do this there have to be those POP services running on the server, and email client(Outlook) has to have account with POP services. Are there some kind of IIS extensions, which provide POP services or it should be some full blown server application like MS Exchange or something else?
Thanks.
 
I'm afraid I don't have any experience with the MS SMTP service and won't be able to help you there. I would look around for anything having to do with relaying or any type of restrictions based on sender or sender's domain.

I don't know about the MS pop server but would suspect that Exchange is what you have to install from MS to get the Pop service.

You probably want to check out the MS Exchange forum (if there is one) as your question falls more in that area than CF now.

Good Luck,
GJ
 
GJ,
Thanks you for being patient and helpful.
I'll try what you said.
Good luck.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top