Skip to main content
April 6, 2008
Question

Invalid Addresses

  • April 6, 2008
  • 2 replies
  • 1760 views
Hi,

I am trying to set up CF8 to send emails through my local host 127.0.0.1.

I receive Server has been updated successfully and Connection Verification Successful.

But the email does not go out, I get "Error","scheduler-0","04/05/08","22:30:37",,"Invalid Addresses" in the mail.log

and

"Information","scheduler-2","04/05/08","23:32:52",,"Moved undelivered mail: Mail8899.cfmail to C:\ColdFusion8/Mail/Undelivr directory" in the mailsent.log

Can anyone help me out on this problem?

Thanks!
    This topic has been closed for replies.

    2 replies

    April 6, 2008
    OK... I got it to work!

    I had to add the the IP address of the computer that will be allowed to relay through the SMTP virturl server in the Access control / Relay Restrictions section of the SMTP Virtual Server properties..

    Thanks for your help.

    All the best!

    Inspiring
    April 6, 2008
    Cooperstown.Com wrote:
    > But the email does not go out, I get
    > "Error","scheduler-0","04/05/08","22:30:37",,"Invalid Addresses" in the mail.log

    i'd believe cf in this case. check your mail log/undelivered folder to see what
    the addresses look like.

    you can test (to some extent) whether a given address is "valid" using the
    isValid("email", yourEmailAddr) function.
    April 6, 2008
    Paul...

    The emails look OK...

    Here is the code...

    <CFSET mailsubject = 'From Cooperstown.Com - Test!'>
    <cfset tome="ncm@cooperstown.com">
    <cfset fromme="info@cooperstown.com">

    <CFPROCESSINGDIRECTIVE SUPPRESSWHITESPACE=NO>
    <CFMAIL
    TO="#tome#"
    FROM="#fromme#"
    SUBJECT="#mailsubject#"
    >
    test


    Nick Mangano
    Cooperstown.Com Inc.

    </CFMAIL>
    </CFPROCESSINGDIRECTIVE>


    and here is the message the is in the Undelivr log:

    type: text/plain; charset=UTF-8
    server: 127.0.0.1:25
    from: info@cooperstown.com
    to: ncm@cooperstown.com
    subject: From Cooperstown.Com - Test!
    X-Mailer: ColdFusion 8 Application Server
    body:
    body: test
    body:
    body:
    body: Nick Mangano
    body: Cooperstown.Com Inc.
    body: