I am using this library in our product to send multiple emails to users. While sending the emails with cron, I am getting itemid and changekey from createitem method. By using that itemid, changekey we are sending the emails with senditem method.
After sending the email successfully, we are trying to get the Internetmessageid with getitem method by passing that mails itemid.But some items i am getting the Internetmessageid as empty.
we are trying to fetch the replies for particular email with Internetmessageid.so we need that Id.
Please refer the below code and let me know the workaround for this
HI,
I am using this library in our product to send multiple emails to users. While sending the emails with cron, I am getting itemid and changekey from createitem method. By using that itemid, changekey we are sending the emails with senditem method.
After sending the email successfully, we are trying to get the Internetmessageid with getitem method by passing that mails itemid.But some items i am getting the Internetmessageid as empty.
we are trying to fetch the replies for particular email with Internetmessageid.so we need that Id.
Please refer the below code and let me know the workaround for this
try {
Sometimes we are not getting $message_id. will use this id in future to fetch replies to this particular email