This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Unable to send email due to missing subject? [v92]

We have observed an exception with email notifications in regards to the Idea Applications specifically. Please see the exception below:

<exception id="3968" userAgent="" serverName="" httpPathAndQuery="" httpVerb="" httpReferrer="" message="We apologize, but an error occurred while attempting to send email." type="UnknownError" ipAddress="" lastOcurred="2017-05-16T08:14:26.2700000" frequency="594">
		CSException: We apologize, but an error occurred while attempting to send email. ---&gt; System.ArgumentException: The specified string is not in the form required for a subject.
		at System.Net.Mail.Message.set_Subject(String value)
		at Telligent.Evolution.Extensibility.Api.Version1.SendEmail.—.‹()
		at Telligent.Evolution.Components.CSContext.RunAsUser(Int32 userId, Action action)
		at Telligent.Evolution.Extensibility.Api.Version1.SendEmail.Send(SendEmailOptions options)
		--- End of inner exception stack trace ---
		at Telligent.Evolution.Components.CSException.˜()
		at Telligent.Evolution.Components.CSException.Unknown(CSExceptionType type, String internalMessage, Exception innerException)
		at Telligent.Evolution.Extensibility.Api.Version1.SendEmail.Send(SendEmailOptions options)
		at Telligent.Evolution.Api.Plugins.Notifications.NotificationEmailSendJob.Execute(JobData jobData)
		at Telligent.Evolution.Components.Jobs.DynamicEvolutionJobRunner.SubExecute(JobExecutionContext context)
		at Telligent.Evolution.Components.Jobs.BaseJobRunner.Execute(JobExecutionContext job)
		at ...()
		at System.Threading.Tasks.Task.InnerInvoke()
		at System.Threading.Tasks.Task.Execute()
		at System.Threading.Tasks.Task.ExecutionContextCallback(Object obj)
		at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
		at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
		at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task&amp; currentTaskSlot)
		at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
		at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
		at System.Threading.ThreadPoolWorkQueue.Dispatch()
		at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
	</exception>

"The specified string is not in the form required for a subject". What would cause this type of error when sending an email? Is the title that is submitted in the new ideas form being malformed somehow? We have run a few tests regarding email notifications on other types of applications (forums, blogs etc.) and are able to receive emails. It seems the exception above is only raised when an Ideas email has to be sent out.

Parents
No Data
Reply
  • Is it possible that you have an idea that includes a line break in the idea name or have you customized the email template to include a line break in the idea notification subject? This error is generally only caused when a line break is included in the subject (which is invalid).

Children