This is weird! I'm trying to send an email using MailMessage through an SmtpClient and I'm getting some strange results! Here's what's going on: 1) This works on some emails but not on others. 2) I've narrowed it down to some problems with some subjects (work) and not others (don't work). For example - a subject of 'Lease has been approved by the land.' works. It's exactly 36 chars long. - a subject of 'Landlord approved lease. ' does not work even though it's exactly 36 chars long. - a subject of 'Landlord approved lease.............' does work. It's exactly 36 chars long.
Why is the Subject sooooo picky?
I pull the subject lines from a database table. The columns are formatted as an nchar(100) nullable. I Trim() each string before I assign it to the subject line so the width shouldnt make a difference. Any clues anyone?!
Thanks