-----Original Message-----
From: Jeff Green [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 11:02 AM
To: [EMAIL PROTECTED]
Subject: RE: Cfmail


Why would it be more efficient to loop opposed to just using the query
attribute?

jeff

-----Original Message-----
From: Dylan Bromby [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 6:50 AM
To: CF-Talk
Subject: RE: Cfmail


actually, i send out 50,000+ emails and when i do, i found it's more
efficient to CFLOOP over the query.


-----Original Message-----
From: Daniel H [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 6:45 AM
To: CF-Talk
Subject: RE: Cfmail


Heidi:

You also may want to stremline your code from:
<CFLOOP query="EmailList">
     <cfmail
                        server="sandvalley.net"
                        from="[EMAIL PROTECTED]"
                        to="#Email#"
                        subject="YallaNesa3ed Notification
#Day(Now())#/#Month(Now())#/#Year(Now())#">
                        #mail_body#
     </cfmail>
</CFLOOP>

                        ---to---

<cfmail query="EmailList"
        server="sandvalley.net"
        from="[EMAIL PROTECTED]"
        to="#EmailList.Email#"
          subject="YallaNesa3ed Notification
#Day(Now())#/#Month(Now())#/#Year(Now())#">
        #mail_body#
</cfmail>

no need for the loop the query will output each email individually.

Just another thought.

Dan







-----Original Message-----
From: Heidi Belal [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 4:11 AM
To: CF-Talk
Subject: RE: Cfmail


Thanks for all your help!
I do have a correct from field entry.  And my mail
server is not on the ORBS, now what do i do?
I really need to these emails go through to the
webaddresses, such as yahoo, hotmail...etc...
This is the code i use.  If there are any
suggestions..please help!

<cfquery datasource="#ds#" name="EmailList">
        Select *
        From Email
</cfquery>




<CFLOOP query="EmailList">

        <cfmail
                        server="sandvalley.net"
                        from="[EMAIL PROTECTED]"
                        to="#Email#"
                        subject="YallaNesa3ed Notification
#Day(Now())#/#Month(Now())#/#Year(Now())#">
                        #mail_body#
        </cfmail>

</CFLOOP>



--- Dennis Powers <[EMAIL PROTECTED]> wrote:
> Heidi,
>
> Be sure that you have valid email address domains in
> the "from field" and
> that it is properly formatted.  The large mail
> providers will reject mail
> from bogus domains or with no return address.  Also
> check to be sure your
> e-mail server is not on the ORBS list
> http://www.orbs.org/ as an open relay
> mail site.
>
> To further trouble shoot, check to see what errors
> your mail server is
> receiving when trying to connect and send to one of
> the big web-mail's
>
>
> Best Regards,
>
> Dennis Powers
> UXB Internet
> (203) 879-2844
> http://www.uxbinfo.com/
>
> -----Original Message-----
> From: Heidi Belal [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 25, 2001 9:42 AM
> To: CF-Talk
> Subject: Cfmail
>
> Hi!
> I have a question regarding cfmail.  It's really
> strange.  I used the cfmail tag to send an email,
> but
> it is not going through to the webemails such as
> excite, yahoo, hotmail..etc..but it goes through to
> my
> pop3 account just fine.
> Does anybody have an idea why that would be case or
> how to fix it?
> thanks!
>
> =====
> Heidi Belal
> ICQ# 32127109
> http://m3.easyspace.com/hmbelal
>
> A bus stops at a bus station.
> A train stops at a train station.  On my desk
> I have a work station...
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to