BlueDragon.NET cfmail + Windows 2003 SMTP server "501 Invalid Address" problem

I came across a problem related to sending e-mail in a BlueDragon.NET beta 7 environment. Whenever I tried running a cfmail function, the e-mail file would be dropped to the undelivered BD directory and the following SMTP server error message would be appended to the mail.log file under < BlueDragon website folder >\work\cfmail:

Sender John Smith was rejected: 501 - [501 5.5.4 Invalid Address]

This issue disappeared after taking out the name bit and leaving a pure e-mail address in the cfmail "to" and "from" attributes. So, this WOULD work:

<cfmail from="smith@domain.co.uk" to="green@domain.com" subject="This works!" type="html">
<!--- your message here --->
</cfmail>

...whereas this WOULD NOT:

<cfmail from="John Smith <smith@domain.co.uk>" to="Peter Green <green@domain.com>" subject="This doesnt work" type="html">
<!--- your message here --->
</cfmail>

According to Microsoft, such problems occur when you have a UNIX mail server - Exchange Server 2003 relation (see: http://support.microsoft.com/?id=291828 ). The above example proves such an issue can also occur between BlueDragon acting as a mail sender and a standard, Windows 2003 SMTP server.

Connecting local drives on terminal services

When using remote desktop to access Windows servers one of the common complaints is the lack of built in file transfer client like SFTP with SSH. I discovered recently that you can connect local drives and they appear on the remote server (Windows 2003) (Thanks to Paul Overton for this tip). To do this on the connection screen click

Options --> Local Resources --> And ensure disk drives is checked. You can also uncheck the printers unless you want that which prevents the annoying event log messages on the server.

Powered by BlogCFC created by Raymond Camden. Code Tweaks by Pixl8, Turbo charged by Blue Dragon.Net Version 7