View Single Post
  #4 (permalink)  
Old 07-24-2008, 11:29 AM
GArlington
 
Posts: n/a
Diggs:
Default Re: simple cfmail problem

On Jul 23, 6:07 pm, "cf.marc" <webforumsu...@macromedia.com> wrote:
> If I use cfmail with the from address being "no-re...@domain1.com" it sends
> fine. However, if I change (and only change) the from attribute to
> "no-re...@domain2.com" the mail is not sent and ends up in the Undelivr
> directory.
>
> The only thing I see in the mailsent.log is "Moved undelivered mail:
> Mail47522.cfmail to /opt/coldfusionmx7/Mail/Undelivr directory"
>
> Any clue what could be causing this? It's my understanding that cfmail should
> at least attempt to send the e-mail as long as the address is valid - so why
> should a different domain be preventing an attempt??
>
> Many thanks,
> Marc


Most likely problem (in most common smtp server setup) is that the
smtp server only allows outgoing emails from limited number of
addresses (for anti-spamming).
smtp server is usually configured to relay (send) emails from it's own
address ONLY. i.e. if smtp server name is smtp.company1.com if will
ONLY relay (send) email from (with from headers)
anything@company1.com, and will NOT relay anything@company2.com...
Reply With Quote