Look in your CF administrator logs. Shane CTek Media
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Peyton Todd Sent: Thursday, March 20, 2008 1:15 PM To: [email protected] Subject: RE: [ACFUG Discuss] How does one use <cfmail>? Troy, the only ColdFusion mail folder I can find is C:\Inetpub\wwwroot\Reporters\CFIDE\administrator\mail. Is that the one you mean? The only files in it are _charsets.cfm and index.cfm. Would I have to enable mail logging to see anything? I'll try that... -----Original Message----- >From: Troy Jones <[EMAIL PROTECTED]> >Sent: Mar 20, 2008 2:07 PM >To: [email protected] >Subject: RE: [ACFUG Discuss] How does one use <cfmail>? > >Have you verified that the mail is even being sent by looking in the >ColdFusion mail folder? Also, it could be that it is being greylisted at the >recipient server. Just a couple of suggestions. > >________________________________ > >From: [EMAIL PROTECTED] on behalf of Peyton Todd >Sent: Thu 3/20/2008 2:00 PM >To: [email protected] >Subject: RE: [ACFUG Discuss] How does one use <cfmail>? > > > >No luck so far. The company which allegedly handles their e-mail (USA.net) >tells me the SMTP server to use is exchange.usa.net, and at least when I enter >that in the 'mail' dialog of the CF Administrator, then put a check by Verify >Mail Server Connection and submit it, it does respond with Connection >Verification Successful. But whether I use server='exchange.usa.net' in the ><cfmail> tag, or just let it use what's in the CF Adminstrator, the office >manager at my client's site tells me he sees nothing from me in his e-mail >Inbox. (I have my e-mail address in the from='<sender'> parm of the tag, and >my name in the subject line parm of the tag). > >If we assume that this means what I was given as the SMTP server name is >incorrect, how do I find the correct name? I'll be at their site tomorrow and >can look on their server, but where would I look? The guy at the USA.net help >desk said the place to look is in the mail icon in Settings --> Control Panel. >He said there should be profiles there with the correct information. However, >when I click the Mail icon there on my own computer just to educate myself, >there are not profiles to be seen. And when I called the office manager at the >client's place of business and asked him to look for the Mail icon in Settings >--> Control Panel on their web server, he said he could find no such icon in >the Control Panel. (I'm almost certain that PC is running Windows Server 2003, >while I'm running XP Professional.) > >Also, I'm unclear as to whose server we're talking about here: the one used by >the sender or the one used by the recipient of the e-mail message? > >Peyton > >-----Original Message----- >From: Dusty Hale >Sent: Mar 19, 2008 11:28 PM >To: [email protected] >Subject: RE: [ACFUG Discuss] How does one use ? > > > > Also I assume you will be moving the app to a different server after > you test it locally. Where ever you host it at should be able to provide you > with an SMTP server name to use. If you plan to use the "server" attribute > rather than configuring it in cf admin, you might consider setting a variable > in your application.cfm file with the value of the server name so you can > easily change it. Or better yet you might do something like: > > <cfif cgi.server_name is "localhost"> > <cfset request.mymailserver = "mail.someserver.com"> > <cfelseif cgi.server_name is "somedomain.com" or cgi.server_name is > "www.somedomain.com"> > <cfset request.mymailserver = "mail.someotherserver.com"> > <cfelse> > <!--- throw some kind of error ---> > </cfif> > > then in your cfmail tag do > > <cfmail to="blabla" from="blabla" subject="hello world" > server="#request.mymailserver#"> > bla bla > </cfmail> > > And if you have multiple instances of cfmail you might do the same for > the to and from email addresses. > > -Dusty > >________________________________ > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Douglas > Knudsen > Sent: 03/19/2008 11:11 PM > To: [email protected] > Subject: Re: [ACFUG Discuss] How does one use <cfmail>? > > > typically the server stuff is set in the admin, thus encapsulating the > developer from needing that info. Check out > http://livedocs.adobe.com/coldfusion/8/htmldocs/basiconfig_11.html > > You will need the email servers SMTP info. I doubt you will be able to > send email vial mail.earthlink.net though due to relaying restrictions. Is > your client using a host? > > DK > > > On Wed, Mar 19, 2008 at 9:58 PM, Peyton Todd <[EMAIL PROTECTED]> wrote: > > > This question will probably be easy for nearly every ACFUGGER > except me: > > I want to use the <cfmail> tag, and my question is: what do > they mean by the 'server'? For example, in testing the site I'm building on > my own PC as local server, I plan to send the e-mail messages from the site > I'm building to myself. My e-mail address is [EMAIL PROTECTED], so that's how > I'm filling in the to="<recipient>" parameter of <cfmail> (Incidentally, does > the from="<sender>" parameter make any difference if the recipient will not > be replying? In this case the recipient will be the office manager on the > same LAN as the web server itself, and he'll always know where the e-mails > come from). > > But the hard part is what to put for the server. I've tried > webmail.atl.earthlink.net <http://webmail.atl.earthlink.net/> , which is were > I get my e-mail. And I've tried just earthlink.net <http://earthlink.net/> > by itself, and just mindspring.com <http://mindspring.com/> . But nothing > appears in my e-mail inbox, not even a message from the MAILER DAEMON, which > ought to know where to send such a message (of ColdFusion should know, since > I've specified from="[EMAIL PROTECTED]". > > Thanks for your help, > Peyton > > > > ------------------------------------------------------------- > Annual Sponsor FigLeaf Software - http://www.figleaf.com > <http://www.figleaf.com/> > > To unsubscribe from this list, manage your profile @ > http://www.acfug.org?fa=login.edituserform > <http://www.acfug.org/?fa=login.edituserform> > > For more info, see http://www.acfug.org/mailinglists > Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > List hosted by http://www.fusionlink.com > <http://www.fusionlink.com/> > ------------------------------------------------------------- > > > > > > > > > -- > Douglas Knudsen > http://www.cubicleman.com <http://www.cubicleman.com/> > this is my signature, like it? > ------------------------------------------------------------- > Annual Sponsor - Figleaf Software <http://www.figleaf.com/> > > To unsubscribe from this list, manage your profile @ > http://www.acfug.org?fa=login.edituserform > <http://www.acfug.org/?fa=login.edituserform> > > For more info, see http://www.acfug.org/mailinglists > Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > List hosted by FusionLink <http://www.fusionlink.com/> > ------------------------------------------------------------- > ------------------------------------------------------------- > Annual Sponsor - Figleaf Software <http://www.figleaf.com/> > > To unsubscribe from this list, manage your profile @ > http://www.acfug.org?fa=login.edituserform > <http://www.acfug.org/?fa=login.edituserform> > > For more info, see http://www.acfug.org/mailinglists > Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > List hosted by FusionLink <http://www.fusionlink.com/> > ------------------------------------------------------------- > >------------------------------------------------------------- >Annual Sponsor FigLeaf Software - http://www.figleaf.com > >To unsubscribe from this list, manage your profile @ >http://www.acfug.org?fa=gin.edituserform > >For more info, see http://www.acfug.org/mailinglists >Archive @ http://www.mail-archive.com/discussion%40acfug.org/ >List hosted by http://www.fusionlink.com >------------------------------------------------------------- > > > > >------------------------------------------------------------- > >Annual Sponsor FigLeaf Software - http://www.figleaf.com > > > >To unsubscribe from this list, manage your profile @ > >http://www.acfug.org?fa=login.edituserform > > > >For more info, see http://www.acfug.org/mailinglists > >Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > >List hosted by http://www.fusionlink.com > >------------------------------------------------------------- > > ------------------------------------------------------------- Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com ------------------------------------------------------------- ------------------------------------------------------------- Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
