Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Invalid Addresses

Guest
Apr 05, 2008 Apr 05, 2008
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!
1.7K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 05, 2008 Apr 05, 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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 06, 2008 Apr 06, 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:
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 06, 2008 Apr 06, 2008
Works fine here.

What does this do?

<cfmail
from="ncm@cooperstown.com"
to="info@cooperstown.com"
subject="From Cooperstown.Com - Test!">
test


Nick Mangano
Cooperstown.Com Inc.
</cfmail>


--
Ken Ford
Adobe Community Expert - Dreamweaver
Fordwebs, LLC
http://www.fordwebs.com


"Cooperstown.Com" <webforumsuser@macromedia.com> wrote in message
news:ftakg0$9r$1@forums.macromedia.com...
> 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:
>
>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 07, 2008 Apr 07, 2008
LATEST
Ken,

The code was not the problem... The problem was setting up my SMTP email server to send out my emails.

I use this script with my lodging request form on my web site. Site visitors fill out the form and based on their selections I send out their information to the members of my list that fit their selections.

I use cfloop to loop through the emails from my database query.

I did see your emails come through and was wondering where they came from.

Thanks for all your help!

All the best!


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 06, 2008 Apr 06, 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!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources