I have to send a mail to Right fax server through Java Mail API in this format /fax=12345/mail_id@domain.com.
I used the following code to set recipient address
Message message = new MimeMessage(session);
InternetAddress mail_to = new InternetAddress("mail_id@domain.com","/fax=12345/");
message.addRecipient(Message.RecipientType.TO, mail_to);
problem is, at receiver mail box I am not able to see the personal encoded value i.e.,/fax=12345/
I am aware of RFC822 format check. Is there any way to display the fax number in To address in receiver end.
Currently at receiver end---------------- To:mail_id@domain.com
My Requirement at receiver end -----------To:/fax=12345/mail_id@domain.com