Solved

Cfmail error with email address with space in it.

Posted on 2004-08-05
3
317 Views
Last Modified: 2013-12-24
As far as I know CompuServe And AOL accounts can have a space in the username/email address, but when you use CFMail to send an email to one of these accounts that have a space in it, CFmail will display an error?
0
Comment
Question by:hansam
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 21

Expert Comment

by:pinaldave
ID: 11731511
Hi hansam,
that is true. It will show an error. I do not see any way around.
I used iMS mail server for the same reason as we had to sent email to the addresses which had AOL accounts. You can get that from www.coolfusion.com it is fun and very easy. I have personally used it sucessfully.
Regards,
---Pinal
0
 
LVL 6

Accepted Solution

by:
PE_CF_DEV earned 125 total points
ID: 11734712
No email address has a space in it, but AOL compuserve users can have Usernames with spaces in it, the fact of the matter is that spaces are no accounted for in email addresses so S P A C E@n a s a.c om is the same as space@nasa.com. Unfortunetly though instead of ignoring spaces Macromedia's Coldfusion, I am not sure about Blue Dragon, throws an error. The fix is very simple though, just do #replace(emailadress,' ','','all')# and everything works out and users are completely unaware of thier misconception of what thier email adress really is.
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 11736360
Space is NOT a valid character in an email address.  If the username has spaces then it is one of two things :

1) As PE_CF_DEV mentioned the email is the username with spaces removed
2) They have a separate email address from the username.

You should validate email addresses as they are entered and prevent people from entering spaces.
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
WSUS Client Issues 52 3,033
wordpress limitations 4 146
How to stress test an ASP.NET https website 3 102
Moving web servers into a DMZ? 3 84
Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
Suggested Courses

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question