I have an email message which has another email message as an attachment.
I am trying to read the singleValueExtendedProperties of the attached email message using below query, but it doesn't work.
I don't see singleValueExtendedProperties in the response.
https://graph.microsoft.com/v1.0/users/{mailbox}/mailFolders/Inbox/messages/
{messageId}/attachments/{attachmentId}?$expand=microsoft.graph.itemattachment/
item($expand=microsoft.graph.message/singleValueExtendedProperties(
$filter = id eq 'string 0x001A'))
According to the documentation, singleValueExtendedProperties are not available at mail attachment level.
Supported resources for singleValueExtendedProperties are:
calendar
contact
contactFolder
event
mailFolder
message
group calendar
group event
group post
When an email message with singleValueExtendedProperties is attached to the another email then singleValueExtendedProperties are lost.
Related
We want to have an application that uses an API (Graph Office365 REST) to go through emails messages and lists the recipient email aliases. Our email user has couple of aliases through which we can receive email into the same inbox.
for example - primaryEmail#my-company.com (primary email)
aliases - primaryEmail.alias1#my-company.com (alias 1) and primaryEmail.alias2#my-company.com (alias 2)
when we send emails to primaryEmail.alias1#my-company.com the email is received correctly against primaryEmail#example.com inbox. When I use the API (me/messages/{ID} or me/messages/{ID}?$select=internetMessageHeaders) to list the properties of the email Alias propterty is missing and the ToRecipients property is already resolved to primaryEmail#my-company.com.
Is there a way to enable the toRecipient email Alias property in the Message object. Please help...
Thanks in advance,
I want to parse incoming emails (which are replies to emails I've sent) for the actual message (without the "original message" part, the signature and such). To achieve this, I would like to include a delimiter (e.g. '-- REPLY ABOVE THIS LINE --') in the reply like it is recommended in many posts I've read. But how can I ask the user's Mail Agents to include my delimiter when a user replies to one of my emails?
I am having the hardest time with the mailboxes gem. I have gotten it working in that I can send and receive messages, but for the life of me I cannot figure out how to display them. i want to display the inbox in table organized like this:
message sender | message subject | message sent date
I have been working for hours to try and figure out how to access the sender of the message in the receivers inbox, but I can't figure it out. I've tried looping through conversations, receipts, notifications, etc and I still cannot figure out what to do. I can't use:
#user wants to retrieve all his conversations
user.mailbox.conversations
#user wants to retrieve his inbox
user.mailbox.inbox
#user wants to retrieve his sent conversations
user.mailbox.sentbox
because there is no way to organize how the messages are displayed using those methods (at least as far as I know). How can I loop through the messages and find the message sender for each message?
A Mailboxer::Message is a Mailboxer::Notification
And you can have the notification's sender: message.sender
A Mailboxer::Conversation is a collection of messages.
You can get the participants, even the originator (plus many other) from it.
Is it clearer?
I have a Rails 3 application that will send mails out to members of a group.
I would like to be able to send out the mails with a single ActionMailer call but specify all the recipients as an array of addresses, e.g.
Emailer.send_newsletters(['user1#domain.tld', 'user2#domain.tld'])
...
def send_newsletters(addresses)
mail :to => addresses, :subject => 'My newsletter to you'
end
Rails will by default make all the recipients visible when sending the mail but I would like that each recipient only sees his own name instead of all.
I will not use a dummy recipient and BCC all real recipients - it needs to be the right recipient.
Is there any way to send the mails without creating a loop around the addresses myself?
No, there isn't. You can send the email to a list of recipients, but they will see all the other recipients. You can assign the recipients to bcc, but the user won't see its address.
The only way to have the user see its own address is to loop all the elements and send one email for each recipient.
If I send the mail to the list of recipients. After that the confirmation mail is send to single person using campaign monitor api.But I want to send the confirmation mail to two or more recipients. could you please answer for this one.
like this:
send = campaign.send!({ :campaignID => campaign.campaignID, :confirmationEmail => #email.from_email, :sendDate => 'Immediately' })
how can i change it for multi recipients.
I don't think Campaign Monitor supports sending multiple campaign confirmations, however you can simply swap out the single email address for an email forwarder on your server which goes to multiple recipients.