Forums
This topic is locked
How do you test <cfmail> locally?
23 Oct 2003 10:46:34 James Lee posted:
I am now learning from this great book on Dreamweaver MX dynamic applications and in 1 chapter they talk about emailing using <cfmail> coldfusion tags. I understand the concept that the SMTP can be set in the coldfusion administrator page. But can I test it offline? Can I set my SMTP to 127.0.0.1 to test it with the machine? I got this error message :The connection to the server has failed. Account: 'mail.bits.com.sg', Server: '127.0.0.1', Protocol: POP3, Port: 110, Secure(SSL): No, Socket Error: 10061, Error Number: 0x800CCC0E
Can I test using any email addresses? What about the Incoming mail server? must I set to 127.0.0.1 also?
Thanks for reading this!
Replies
Replied 31 Oct 2003 05:29:01
31 Oct 2003 05:29:01 John oconnor replied:
you should just be able to click the link and it will automatically open any email proggy on your pc if you've coded it correctly , I'm a CF dev, and its a fairly simple task.
If not , and your running a domain of your own, use your smtp for your domain mail (that is if you have email on a domain) thats how i tested the <CFMAIL> tag on a site i developed and it worked fine, just use the server settings you've established in Outlook , or Endora or whichever mail proggy you use.
If not , and your running a domain of your own, use your smtp for your domain mail (that is if you have email on a domain) thats how i tested the <CFMAIL> tag on a site i developed and it worked fine, just use the server settings you've established in Outlook , or Endora or whichever mail proggy you use.
Replied 01 Nov 2003 04:43:29
01 Nov 2003 04:43:29 James Lee replied:
Thanks for replying.
But I have tested using the 127.0.0.1 ip address and it does not send back to me. However I have tested on my mail server (My office mail server) and it works. My intention is to test it locally with my computer.
Pardon me, but how do you run a domain in Windows XP Pro? I have set my incoming mail server and outgoing mail server to both 127.0.0.1. in Outlook Express.Is that right?
But I have tested using the 127.0.0.1 ip address and it does not send back to me. However I have tested on my mail server (My office mail server) and it works. My intention is to test it locally with my computer.
Pardon me, but how do you run a domain in Windows XP Pro? I have set my incoming mail server and outgoing mail server to both 127.0.0.1. in Outlook Express.Is that right?
Replied 01 Nov 2003 07:58:52
01 Nov 2003 07:58:52 John oconnor replied:
You actually would have to run a web server, and register your DNS settings, most internet providers dont usually appreciate your using their services for this , but you <i>can</i> do it until they shut you down.
Otherwise it can be a hassle, you're probably better off registering a Domain name with someone like www.godaddy.com (great,inexpensive company) then find hosting with a company that allows/supports Coldfusion (some actually provide a server preconfigured with it ... www.hostmysite.com is one of these)
Otherwise it can be a hassle, you're probably better off registering a Domain name with someone like www.godaddy.com (great,inexpensive company) then find hosting with a company that allows/supports Coldfusion (some actually provide a server preconfigured with it ... www.hostmysite.com is one of these)
Replied 04 Nov 2003 16:45:49
04 Nov 2003 16:45:49 James Lee replied:
Thanks for replying.
So I guess it is better off for me to register for a company that has a coldfusion server. Well, it is a bit unfortunate I cannot test it out locally using my computer.
Thanks for your help anyway!
So I guess it is better off for me to register for a company that has a coldfusion server. Well, it is a bit unfortunate I cannot test it out locally using my computer.
Thanks for your help anyway!
Replied 08 Nov 2003 08:43:22
08 Nov 2003 08:43:22 Nozomi Kugita replied:
peggycck1,
You can use a trial version of mail servers, such as Magic Winmail. I think Magic Winmail lets you use non-true DNS for testing purpose... Once you have ColdFusion MX server ( you can also use free Developer edition) and email server running, you are ready to test your cfmail feature locally.
HTH,
- Noz
Edited by - Noz on 08 Nov 2003 10:22:45
You can use a trial version of mail servers, such as Magic Winmail. I think Magic Winmail lets you use non-true DNS for testing purpose... Once you have ColdFusion MX server ( you can also use free Developer edition) and email server running, you are ready to test your cfmail feature locally.
HTH,
- Noz
Edited by - Noz on 08 Nov 2003 10:22:45
Replied 13 Nov 2003 13:05:25
13 Nov 2003 13:05:25 John oconnor replied:
Well thats a cool idea, I never had a clue on that Noz,thanks,
.... see the old proverb(cliche) is true, you learn something new everyday....but in this racket its more like hourly ...lol
.... see the old proverb(cliche) is true, you learn something new everyday....but in this racket its more like hourly ...lol