Okay, I am having some trouble sending an email via Coldfusion 8.
There are three servers all on the same network, all can access each other fine, and all also have different external IP addresses.
Server 1 is a windows server 2003 standard, and acts as the smtp server. It has the IP that 'domain.co.uk' defaults to.
Server 2 is running windows server 2003 web edition, and Coldfusion MX6.1. In the coldfusion adminstrator, email is set to be sent out via Server 1. I send an email out from a cfm page and it works fine.
Server 3 is running windows server 2003 standard, and Coldfusion 8. In the coldfusion administrator, email is also set to be sent out via Server 1. I send an email out from a cfm page and it does NOT work. The error written to the log is:
"Error","scheduler-1","08/
20/08","14
:59:31",,"
Invalid Addresses"
javax.mail.SendFailedExcep
tion: Invalid Addresses;
nested exception is:
com.sun.mail.smtp.SMTPAddr
essFailedE
xception: 550 5.7.1 Unable to relay for name@domain.co.uk
at com.sun.mail.smtp.SMTPTran
sport.rcpt
To(SMTPTra
nsport.jav
a:1196)
at com.sun.mail.smtp.SMTPTran
sport.send
Message(SM
TPTranspor
t.java:584
)
at coldfusion.mail.MailSpoole
r.deliver(
MailSpoole
r.java:832
)
at coldfusion.mail.MailSpoole
r.sendMail
(MailSpool
er.java:73
1)
at coldfusion.mail.MailSpoole
r.deliverS
tandard(Ma
ilSpooler.
java:1021)
at coldfusion.mail.MailSpoole
r.run(Mail
Spooler.ja
va:986)
at coldfusion.scheduling.Thre
adPool.run
(ThreadPoo
l.java:201
)
at coldfusion.scheduling.Work
erThread.r
un(WorkerT
hread.java
:71)
Caused by: com.sun.mail.smtp.SMTPAddr
essFailedE
xception: 550 5.7.1 Unable to relay for name@domain.co.uk
at com.sun.mail.smtp.SMTPTran
sport.rcpt
To(SMTPTra
nsport.jav
a:1047)
... 7 more
(obviously with the *real* email address rather than name@domain.co.uk)
To the best of my knowledge, usually this relaying error message means the IP of the domain associated with the 'from' address does not match the IP of the machine sending out the email... however in this case, both Server 2 and server 3 are attempting to send out exactly the same email, with the same to/from addresses (and the same content), and the domain in the 'from' address does definitely resolve to the IP of server 1, which is the one actually sending out the email. So I don't understand how this error can possibly arise?
Is there some major difference between sending mail with CF8 as opposed to MX 6.1 that could cause this?
Or is it something to do with using Server 2003 standard as opposed to web edition?
Or is there some network config issue which could cause this? (all machines can see each other over the network without any problems)
Any help would be much appreciated!
Start Free Trial