Article - CS389508

Unable to send emails through email page from QuickLinks with error, "com.sun.mail.smtp.SMTPSendFailedException: 554 5.2.252 SendAsDenied" in Windchill PDMLink

Modified: 19-Oct-2023   


Applies To

  • Windchill PDMLink 12.0 to 13.0

Description

  • Unable to send emails through email page from QuickLinks
  • Failed to send mail
  • Failed to send mail by Email Page
  • The EmaiQueue has a large number of failed entries
  • Method server logs show the following error:
com.sun.mail.smtp.SMTPSendFailedException: 554 5.2.252 SendAsDenied; [email protected] not allowed to send as [email protected]; STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message [BeginDiagnosticData]Cannot submit message.

	at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2374)
	at com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:2095)
	at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1301)
	at com.infoengine.webject.msg.SendMail.invoke(SendMail.java:485)
	at com.infoengine.procunit.webject.WebjectProcessor.invokeWebject(WebjectProcessor.java:624)
	at com.infoengine.procunit.webject.WebjectProcessor.processTask(WebjectProcessor.java:210)
	at com.infoengine.SAK.Webject.invoke(Webject.java:491)
	at com.infoengine.compiledTasks.file.appl.ptc.Windchill_12$2e0.Windchill.tasks.wt.mail.sendmail$2exml.invoke(sendmail$2exml.java:751)
	at com.infoengine.SAK.Task.invoke(Task.java:1806)
	at com.infoengine.SAK.Task.invoke(Task.java:1714)
	at wt.mail.EMailMessage.submitMessage(EMailMessage.java:1560)
	at wt.mail.EMailMessage._send(EMailMessage.java:833)
	at wt.mail.EMailMessage.send(EMailMessage.java:775)
	at com.ptc.netmarkets.project.StandardNmProjectService.sendEmail(StandardNmProjectService.java:2204)
	at com.ptc.netmarkets.project.StandardNmProjectService.email(StandardNmProjectService.java:1065)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)
	at com.sun.proxy.$Proxy177.email(Unknown Source)
	at com.ptc.windchill.enterprise.team.commands.TeamCommands.email(TeamCommands.java:355)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at com.ptc.core.components.forms.FormDispatcher.callWizardCommand(FormDispatcher.java:112)
	at com.ptc.core.components.forms.FormDispatcher.execute(FormDispatcher.java:98)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at com.ptc.netmarkets.util.beans.NmCommandBean.execute(NmCommandBean.java:2247)
	at com.ptc.jca.mvc.controllers.ActionController.executeWizardAction(ActionController.java:222)
	at com.ptc.jca.mvc.controllers.ActionController.processRequest(ActionController.java:125)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
	at org.spr
This is a printer-friendly version of Article 389508 and may be out of date. For the latest version click CS389508