Click here to Skip to main content
Sign Up to vote bad
good
See more: SQL-Server
hi,
I had check some mail are properly send but 2 mail are not send.
I had see this error in select * from msdb.dbo.sysmail_log.
The message show:-
"The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 10 (2012-08-16T03:00:02). Exception Message: Cannot send mails to mail server. (The specified string is not in the form required for a subject.). )"
 
Please some guide me...
Posted 13 Nov '12 - 0:35
Edited 13 Nov '12 - 16:37

Comments
Bernhard Hiller - 13 Nov '12 - 8:23
What about reading the full entry? Hint: What do those "..." stand for after "The specified string is not"?
ryanb31 - 13 Nov '12 - 8:28
You cut off the rest of the error message. What does it say?

1 solution

Never had I seen such amessage before, and I could hardly believe that such a message is possible. I copied the error message to Google, and voilà, more than a million results...
According to the first hit, some mail programs do not allow the subject to contain line breaks. Just remove them (e.g. replace them with spaces).
By the way, how does it come that you did not do that simple step of asking Google?
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Mohammed Hameed 268
1 Sergey Alexandrovich Kryukov 238
2 OriginalGriff 236
3 Mayur_Panchal 153
4 Dave Kreskowiak 125
0 Sergey Alexandrovich Kryukov 8,171
1 OriginalGriff 6,236
2 CPallini 3,482
3 Rohan Leuva 2,703
4 Maciej Los 2,234


Advertise | Privacy | Mobile
Web03 | 2.6.130516.1 | Last Updated 14 Nov 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid