Re: Problems sending auto-email through CF

2004-08-16 Thread Christy Carter
I've done that, Peter, but it doesn't seem to help. Thanks for the try though!

I emailed our ISP and this is what they said...

I'm not sure how your web application is sending a response but it 
needs to authenticate the same as your clients or you will get the relaying denied error message. The other option is to have your web application send out through .xxx.xxx which does not require the authentication.

Sounds to me like if I use the alternative mail server () I don't need to have any sort of username and password. Does that make sense?

Thanks,
Christy
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Problems sending auto-email through CF

2004-08-16 Thread Christy Carter
I don't get the relaying message, but instead I get Unable to connect to mail server. But when I enter that mail server name into CF Administrator and check the Verify Mail Server Connection button, it says that it connects to the mail server fine.

I wonder why it can connect from CF Admin but not when it is sending the actual mail message?

Any ideas?

thanks,
Christy
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Problems sending auto-email through CF

2004-08-16 Thread Christy Carter
Does the mail server require SMTP AUTH?
If it requires a user ID and password, then your CFMail must supply it for each email it tries to send.

Well it shouldn't, according to the reply I got from my ISP. The other option is to have your web application send out through .xxx.xxx which does not require the authentication.

But I can try putting in the username and password for our admin account. Only thing is - I don't see anywhere in the cfmail parameters where I would put this info?Where would I supply the username and password to the mail server?

thanks!
Christy
:)
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Problems sending auto-email through CF

2004-08-16 Thread Christy Carter
Ok, I've just done some more research, and found that with the version of ColdFusion I'm using (5), I am not able to put in a username and password to authenticate the mail server.

Therefore, I'm back to trying to make the alternate mail server work - the one my ISP said doesn't need authentication. What's confusing me is when I enter that mail server into CF Admin, it says it can connect fine - but when I try to send the email thru CF, it says it cannot connect to the mail server.

Argh. :)

Christy
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




CF Administrator won't load??

2004-08-12 Thread Christy Carter
For some reason, I get a 404 page not found error when I type the usual http://localhost/cfide/administrator/index.cfm or http://127.0.0.1/cfide/administrator/index.cfm.

But then the Administrator loads up fine if I use the server name instead amd type: http://christy-srv/cfide/administrator/index.cfm.

I tried pinging 127.0.0.1 and locahost and seemed to reach both fine.Any ideas why this could be happening?

Thanks,
Christy
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Problems sending auto-email through CF

2004-08-12 Thread Christy Carter
Our web application (developed in CF) allows users to register online - after they've registered, two things should happen:
1) they should be sent an auto-email with further instructions
2) we should be sent an auto-email saying they have registered

But every time I do a test registration, it comes back saying cannot connect to mail server

Our ISP gave me a mail server that apparently doesn't need to be authenticated, so I'm thinking it should be working.I went into CF Administrator and put that server name in the mail settings section.

Is there something else I need to do in order to be able to send auto emails using cfmail?

thanks!
Christy
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CF Administrator won't load??

2004-08-12 Thread Christy Carter
Mark, do you mean on the Website tab, if I go to Properties for default website?I went there, and it specifies an IP but it's the IP that identifies the server on the network - should I change it to 127.0.0.1?

Actually, it's Windows 2000 Server...does that make a difference?

Thanks!
Christy
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CF Administrator won't load??

2004-08-12 Thread Christy Carter
Ok, I went in a changed the IP to 127.0.0.1 and I couldload the Administrator page using localhost fine.But our website itself no longer loaded.

So I kept the IP as the network ideentification IP, but I went into the Advanced tab and added 127.0.0.1 as an additional IP using port 80, and that seemed solve the problem - I can load both the CF Administrator and our website!

Does it sound okay that I added another IP there?

thanks,
Christy
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Problems sending auto-email through CF

2004-08-12 Thread Christy Carter
I wanted to add that when I put the server name into the mail server section of CF Administrator, I check the Verify Mail Server Connection box.

It says it can connect to the mail server fine - I get this message ColdFusion connected to your mail server. Verification completed without error.

This is why I'm confused - if it can connect then, shouldn't it be able to connect when sending the email?

thanks,
Christy
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CF Administrator won't load??

2004-08-12 Thread Christy Carter
Yikes!yes, it's sort of a production server - right now it's hosting our site, which is only available to testers by typing in the IP address we've given them. It is not available through a domain name.

So by having the 2 IPs there, I'm allowing our users to access CF Admin? Not good. :)

How would I split them up, like you said?

thanks!
christy
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CF Administrator won't load??

2004-08-12 Thread Christy Carter
Okay, in going back into IIS, I see that there are 2 websites - Default website and Administration website. Maybe I should assign the 127.0.0.1 to the Admininstration website?

Oh, I don't know. :)

thanks,
Christy
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




something different about numbers over 1000?

2004-08-11 Thread Christy Carter
I have a CF web app with an Access backend, and it allows users to search for documents related to specific properties and download them.

The document PDFs are located in folders named for the assigned ID for the property.

When the user searches for a property that happens to have an assigned ID less than 1000 (but the user has no idea what the ID is), they have no trouble downloading the associated documents.BUT if the ID is 1000 or greater, they get a page not found error when trying to download the documents.

I've tried numerous examples and 1000 seems to be the cutoff point - anything with an ID that is 4 digits or more just won't download.

Is there something in ColdFusion - a data type or something - that changes once 4 digits are reached?I know I'm reaching for answers, but I'm so perplexed by this!

Thanks!
cdrh
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: something different about numbers over 1000?

2004-08-11 Thread Christy Carter
Hmmm, I tried just putting '' as the mask, but then I can't even download the documents with IDs less than 1000, or the ones greater than 1000 either.

I don't need decimal places, just one big long number (integer) with no commas.Any other format I could use, I wonder.

I'll have to keep playing around with it, because I'm SURE it must have something to do with that!

Thanks Mark!
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: something different about numbers over 1000?

2004-08-11 Thread Christy Carter
Weird.I put this in:#NumberFormat(url.PropID, '_')#
But I can't download any documents then, with IDs  or  1000.
This is so frustrating.

Thanks for your help, Mark - can you see anything I'm doing wrong in the code?

Christy
:-)
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: something different about numbers over 1000?

2004-08-11 Thread Christy Carter
IT WORKED!!!I used val instead and it works like a charm now.
Thanks so much, Mark - you've made my day! :-)

Christy
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: something different about numbers over 1000?

2004-08-11 Thread Christy Carter
Mark, I use NumberFormat as well, so that's likely my problem too!
What did you do instead
I'm off to check this out now!

Thanks
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




popup links to PDF files

2004-08-03 Thread Christy Carter
I know this was working before and can't figure out for the life of me why it isn't working anymore.I didn't write the code and am very new to CF, so I'm having trouble trying to figure it out.Here's the situation.

Users will be able to search for a property based on its address. The result will be a list of properties matching the street name they entered. From that list, they will click on a particular property and get a report. In the report will be a link to the associated PDF document for the property.

The problem is that now I always get a page not found error when I click on the document link. The new window pops up, but it just says page not found.I'll post some of the code for the various steps below...

First of all, each property has an ID and this, combined with the date the property is entered, makes the unique identifier for the property. Each property has a folder and inside the folder are the PDFs for all the documents associated with that property. Make sense? Each document in the folder has its own unique ID, which is just a number.

here is the code for the link to the document...

a href="">
#PropDate#did=#DocID#', 800, 600)title=#application.cost_doc_download# pointsDownload this document/a

Then it goes to the page confirm_DocDownload.cfm and the code is as follows...

cfoutputframe name=f2 src="">
#DateFormat(PropDate,'mm-dd-')#PropDate=#url.PropDate#did=#url.did# marginwidth=10 marginheight=10 scrolling=auto frameborder=0/cfoutput

Then it goes to the page confirm_DocDownload1.cfm and the code is as follows...the part where it sets the filename also sets the folder name.

cfset suffixappend = .pdf
cfset filename = DATA/#NumberFormat(url.PropID)#-#DateFormat(url.PropDate,'mmdd')#-#TimeFormat(url.PropDate,'hhmmsstt')#/#suffixappend# 

script Language=_javascript_
title=doc
location=#filename#
/script

Can anyone help me understand why this isn't working?If you need any more information, please let me know!

THANK YOU
Christy
:)
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: popup links to PDF files

2004-08-03 Thread Christy Carter
nobody has any ideas for me??? :(

thanks!
christy
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




cfmail only works internally

2004-06-21 Thread Christy Carter
I use cfloop and cfmail to send a mass auto-email to all the users in my database. Or I try to anyway! :)

It goes through to all users on our local email server - i.e. anyone with the same email extension (for example [EMAIL PROTECTED]).But nobody else seems to get it - nobody with a yahoo or hotmail account, and nobody with a different ISP account...and I have no idea why.

Here's my code...any ideas?

Thanks,
Christy

cfloop query=getlist 
cfmail from=[EMAIL PROTECTED] type=HTML server=#application.mailserver# to=#email# subject=#form.subject#

Dear #getlist.Username#,brbr

#form.body#brbrbr

Sincerely,
The Company

/cfmail
/cfloop
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: cfmail only works internally

2004-06-21 Thread Christy Carter
Well, I'm using a mail server here at the university.

I'm the admin of ColdFusion, but not of the mail server. Perhaps I should talk to our tech guy in the building, the one who administers the netowkr and mail server. So he would have to enable it for me?

We are moving out on our own at the end of this month, and will be running (somehow haha!) our own local network. Maybe I should wait and try to set it up myself then...

THanks for your help and ideas...

Christy
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: cfmail only works internally

2004-06-21 Thread Christy Carter
Yep, just looked in my Undeliverable folder (thanks - didn't realize this was there!) and all the messages are there. Must be something to do with the mail server - I suspect I'll have to talk to the admin guys.

Thanks!
Christy
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: cfmail only works internally

2004-06-21 Thread Christy Carter
KOla, it's definitely a valid address, as it's the one I use every day for work purposes. But I think it probably has to do with the permissions on my account...

Christy
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: cfmail only works internally

2004-06-21 Thread Christy Carter
I'm running version 5 right now...

Not sure about sending emails outside of CF - I don't administer the 
mail server - I'm just a client. I just put in my own email address as 
the from address, and put the name of the mail server in CF 
administrator.

Christy
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: cfmail only works internally

2004-06-21 Thread Christy Carter
Thanks, Scott.

Yep, just as you guys suggested - the majority of the emails say this.

Error,1004,06/21/04,10:42:59,,Failed to send the spooled mail 
file, C:\CFusion\Mail\spool\D5.cfmail. SMTP server replied Relaying 
is prohibited Moved file to C:\CFusion\Mail\undelivr\D6.cfmail.

I guess I'll have to talk to the admin.Are there any downsides to 
enabling relaying? Just trying to anticipate if I'll have to fight for 
this. :)

Thanks!
Christy
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: cfmail only works internally

2004-06-21 Thread Christy Carter
Well, that sounds promising, Rick...I'm off to figure out how to do it. :)I'm running Windows 2000 with IIS so that sounds promising.

Thanks!
Christy
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: cfmail only works internally

2004-06-21 Thread Christy Carter
Thanks! Okay, I've done that much - although I didn't rewlize there was a difference in local vs. external IP addresses.

Now I'm trying to figure out how to use this server in my cfmail code. :)

Christy
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




send mass e-mail to users?

2004-06-18 Thread Christy Carter
I've made a CF page where an administrator can write an email, and upon the click of the Send button, I want to send it to every user in our database.We have a Users table that contains all user information, including e-mail addresses.

Is there a way to send the email to all users inside the cfmail tag?

Thanks!
Christy
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: locking user out after 3 incorrect attempts to log in

2004-06-16 Thread Christy Carter
Thanks for all the replies, folks!

Doug, I looked at that Coldcuts code you mentioned, but I have no clue where in my code to put it!I've tried several things but keep getting errors - VALUE is not a valid parameter, among others.Where would you suggest I place that code?Thank you for your help. :)

We don't want to annoy people, but we want to give our new customers a sense of security. Irritating, but strangely comforting, as George said. :) I'm trying to find a happy balance between the two sides - perhaps 4 attempts to log in and then a 10-minute lockout, after which they can try again?

I also realize it isn't foolproof - and that most computer-savvy people can just delete the cookies and move on.But we still want to put some sort of security in place.

session.times_logged_on seems like a good option - can someone direct me as to where in my code I should put this stuff?I have two login pages - login.cfm (the page where you enter your username and password) and login_validate.cfm (where the user info is validated).

Thank you!!!
Christy
:)
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: locking user out after 3 incorrect attempts to log in

2004-06-16 Thread Christy Carter
Okay, I could be wrong because like I said, I'm very new to this - but wouldn't times_logged_on track how many times the user has actually logged in, not just tried to?I've tried to use session.times_logged_on but until the person successfully logs in, there's no actual session variable set.

I'm half tempted to just forget about it altogether haha!

Christy
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: locking user out after 3 incorrect attempts to log in

2004-06-16 Thread Christy Carter
Thanks, Matt. I did download your code, and am about to wade through it now, although given my lack of CF knowledge, my chances of being able to decipher it are probably slim. :)

But thanks for your help anyway.

Christy
:)
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]