Author Message
yunjiaohou
Joined: Jan 2, 2008
Messages: 6
Offline
Hi, Expert
I am using CCMM SDK to send email with attachment, but failed.
Method:emailWS.OriginateMailWithAttachments
contact was created successfully.
From CCMM Email log, the system cannot find the attachment in file system.
Actually the attachment is indeed there, but very late.
That means when the system sending the email. it couldn't find the attachment, but after abandoned, then the attachment appear.

CCMM Logs:
=======================
Creating MultiPart Message for plain text and attachments
Creating Plain Text Part
Adding Attachment: \5552307\New Text Document.txt
File \5552307\New Text Document.txt does not exist in outbound folder so trying inbound folder
Adding Parts To MultiPart
Adding MultiPart To Message
Send failure will NOT be retried later
com.nortel.applications.ccmm.mail.hostaccess.services.MailServiceException: Error 7550 - The mail services connection has been abnormally terminated , an attempt will be made to reopen it by the next operation, but the current failed operation has been abandoned. - Connection Failed : true
   at com.nortel.applications.ccmm.mail.hostaccess.services.MailService.processError(MailService.java:247)
   at com.nortel.applications.ccmm.mail.hostaccess.services.MailTransport.send(MailTransport.java:267)
   at com.nortel.applications.ccmm.mail.hostaccess.threadpool.WorkerThread.executeSend(WorkerThread.java:317)
   at com.nortel.applications.ccmm.mail.hostaccess.threadpool.WorkerThread.executeRequest(WorkerThread.java:180)
   at com.nortel.applications.ccmm.mail.hostaccess.threadpool.WorkerThread.run(WorkerThread.java:113)
Caused by: javax.mail.MessagingException: IOException while sending message;
nested exception is:
   java.io.FileNotFoundException: F:\Avaya\Contact Center\Email Attachments\Outbound\5552307\New Text Document.txt (The system cannot find the file specified)
   at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:625)
   at com.nortel.applications.ccmm.mail.hostaccess.services.MailTransport.send(MailTransport.java:256)
   ... 3 more
Caused by: java.io.FileNotFoundException: F:\Avaya\Contact Center\Email Attachments\Outbound\5552307\New Text Document.txt (The system cannot find the file specified)
   at java.io.FileInputStream.open(Native Method)
   at java.io.FileInputStream.<init>(Unknown Source)
   at javax.activation.FileDataSource.getInputStream(Unknown Source)
   at javax.activation.DataHandler.writeTo(Unknown Source)
   at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1350)
   at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:845)
   at javax.mail.internet.MimeMultipart.writeTo(MimeMultipart.java:361)
   at com.sun.mail.handlers.multipart_mixed.writeTo(multipart_mixed.java:85)
   at javax.activation.ObjectDataContentHandler.writeTo(Unknown Source)
   at javax.activation.DataHandler.writeTo(Unknown Source)
   at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1350)
   at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1683)
   at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:585)
   ... 4 more


Thanks in advance.
yunjiaohou
Joined: Jan 2, 2008
Messages: 6
Offline
After I installed the latest patch AACC_62_SP5_RP3_patches_2_20120504_1130.zip, this issue is sovled, but for 'reply' and 'reply all' functions, still has the same issue.
AudreyHayden
Joined: Jun 7, 2011
Messages: 0
Offline
Hi Yunjiao,
I'm not aware of any known issues with this functionality so would recommend that you raise a ticket with DevConnect Tech Support so it can be investigated further.

Regards,
Audrey
yunjiaohou
Joined: Jan 2, 2008
Messages: 6
Offline
Hi, Audrey
I don't know how to raise a ticket.
After i opened Technical Support page, I couldn't find any info about AACC support.

Thanks
AudreyHayden
Joined: Jun 7, 2011
Messages: 0
Offline
Hi
On this page, select NES Contact Center:

https://devconnect.avaya.com/public/forum/d_forum_3.jsp?t=11420&f=53
Go to:   
Mobile view