use the trim() function if the spaces are leading or trailling.  Try
Replace(fromvarname,Chr(32),"",ALL)
to kill spaces in the middle of a value

~Simon

> Simon Horwith
> Certified ColdFusion Developer
> Fig Leaf Software
> 1400 16th St NW, # 220
> Washington DC 20036
> 202.797.6570 (direct line)
> www.figleaf.com
> 


-----Original Message-----
From: Drechsler, Jennifer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 29, 2000 2:44 PM
To: CF-Talk
Subject: RE: CFMAIL Fails to Send


It seems that I am having the same problem with space in the From field of a
form that people are filling out.  How can I remove those spaces before the
mail is sent?

Jen D.
SFPUC, ITS

-----Original Message-----
From: Patricia Lee [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 28, 2000 12:15 PM
To: CF-Talk
Subject: RE: CFMAIL Fails to Send


Are there spaces in your From address?  I've known of a but where the mail
would fail to send in such cases.  I do not know if this is supposed to have
been fixed yet... but you can put it on your list of possible culprits.

> -----Original Message-----
> From: Sean Daniels [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 28, 2000 2:32 PM
> To: CF-Talk
> Subject: CFMAIL Fails to Send
> 
> 
> I am using an SMTP service running on the local machine to 
> send outgoing
> mails. In the CFAdmin the server verifies fine. But when I 
> send an email it
> gets stuffed into Undeliverable folder and the mail.log says 
> it was unable
> to connect to the SMTP server.
> 
> Anyone have any suggestions? According to the IT guy at the 
> company the SMTP
> service is working.
> 
> - Sean
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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