i am trying to use the QC OTA function SendMail for sending the attachments to a specific email. Everything is working fine but, the attachment name is too long as i am using the Attachment.ServerFileName.. the attachment name is looking like "jjjjj.mmm.llllAppsCorpBISQualityCenterrepositoryq cDefaultprojectnameAttachRUN_1094_step1-TC4_TC5.png".. because of this im not able to open the attachment directly from email.. i hv to rename it with smaller name to open it.. is there any way to make the attachment name a smaller one while sending the email itself?
Re: Attachment name is too long while using Sendmmail
Hi Chikki / Raj.. it will work if i rename the file manually but i want to rename it in the attachment of the email itself. I am using the SendMail function and i have to pass the SeverFileName as parameter then only the email will have attachments if i use the Name property the attachment is not appearing in the email. Also, i do not know how to rename it in the SendMail function or how to give the short name to the attachments so that it will appear properly in the email. any ideas??