How to know who send the invite? - glympse

I'm using the iOS Glympse SDK to send email invites.... and it works fine.
The email destination user is receiving a glympse invite but no indication of the user nickname sending the invite. The invitation title is "A friend share a glympse with you".
I would like to have "Fred share a glympse with you"
How to do that ?

Sounds like you're on the right track, the sender's nickname is used in the invite email's subject line.
Make sure the sender's nickname is being set at the correct time. It can only be set after the client app has synced with the Glympse server as described here: https://developer.glympse.com/docs/core/client-sdk/guides/common/programming-guide#configuring-user-profile
As described in that document, make sure to listen for the GE.PLATFORM_SYNCED_WITH_SERVER event and set the nickname for the sender at that time (or anytime after). This rule exists so that if the nickname or avatar was set on another device, the client will have up to date information before it tries to apply a new nickname.
Once the sync has occurred, the nickname of the sender is set like this
GUser user = glympse->getUserManager()->getSelf();
user->setNickname(CoreFactory::createString("Fred"));

Related

Outlook calendar replaces plus sign in meeting organizer email address with spaces

I receive calendar invite to my outlook desktop client from one of the applications I use and the organizer email in the meeting invite was "scheduling-assistant+A6B890782A404B77#XXXXXX.com" (Masking the domain with X). When I tried to accept the meeting invite, I received the following exception
Delivery has failed to these recipients or groups:
Scheduling Assistant
The format of the email address isn't correct. A correct address looks like this: someone#example.com. Please check the recipient's email address and try to resend the message.
More information:
scheduling-assistant A6B890782A404B77#XXXXXX.com
Remote Server returned '550 5.1.3 STOREDRV.Submit; invalid recipient address'
ORGANIZER PROPERTY IN ICS FILE
ORGANIZER;CN=Calendar
Services:mailto:scheduling-assistant+A6B890782A404B77#XXXXXX.com
If we take a look at the email address in the delivery failed mail, plus sign was removed.
I have also recently started facing this issue. I think outlook must have made some changes to how it reads the .ics file.
You need to HTTP encode the organizer's email adderss.
I use python (django), and I used django.utils.http.urlquote to encode the email address:
organizer = vCalAddress(u"mailto:{}".format(urlquote("scheduling-assistant+A6B890782A404B77#XXXXXX.com"))) #<-- This is the only difference. I have encoded the email address.
This fixed the problem for me. I have tested this in Outlook and Google calendar.
Here is my original answer.

Display sender name as set in message header, instead of full name from address book

I came across this as the only other thing I could find that resembled what I'm asking: http://office-outlook.com/outlook-forum/index.php/t/84123/
I'm sending an email through Office 365's SMTP server as a notification that a form was submitted to my company email address (me#company.com) from our company RSVP email address (rsvp#company.com). I am setting the From Name to be the full name of the person filling out the form and the reply-to email as the person's email address textbox.
Here is an example of what part of the message header might look like:
To: <me#company.com>
From: Test User <rsvp#company.com>
Reply-To: <test.user#gmail.com>
In Outlook, since rsvp#company.com is an actual mailbox within our company, it automatically displays the sender name as "RSVP" (which I suppose is what was set when the mailbox was created). Is there a way to bypass this and display the sender name in the message header instead?
No. Exchange always resolves all sender and recipient names to their primary SMTP address and default name. Just the way Exchange works.
You can extract MIME headers and modify the message sender related properties on the client side after the message is received using Extended MAPI (C++ or Delphi) or Redemption (I am its author - use RDOSession.CreateOneOffEntryID / RDOSession.GetAddressEntryFromID / set RDOMail.Sender and RDOMail.Get_SentOnBehalfOf / RDOMail.Save). Note that OOM will not let you set the sender related properties even using MailItem.PropertyAccessor.

Why can't I set the Office365 sender name remotely when sending via smtp?

An external saas application "SocialNetwork" is using one of our office365 users to send the notification emails. Typically the saas app will send different notifications and will set the sender name to the author of a new content. But the sender name for the notifications is always the name of the Office365 user ("SocialNetwork").
e.g.:
John Doe posts a new file in the saas application "SocialNetwork". I should receive an email notification about that. The notification is sent via our Office365 user "SocialNetwork". Sadly the email I receive as a Office365 user comes from "SocialNetwork" and not as "John Doe", which is set when the notification email is sent.
How can we send notifications via an office365 user but still not have a fixed name for this user and rather send emails with it including varying sender names?
Exchange Server in general, and Office 365 in particular, will not let you spoof the sender address. It has to come from one of the SMTP aliases of the mailbox.

Avoid sending meeting invite as attachment when auto-forwarding in Outlook 2007

I setup a rule in Outlook 2007 (my work email client) to auto-forward all meeting invites to my Gmail account so I can add them to Google Calendar. I made sure the action I selected was "forward it to people or distribution list" instead of "forward it to people or distribution list as attachment". Despite this, when I look at the forwarded email in Gmail, it just has an attachment with no extension with the name of the meeting. On the other hand, if I forward the invite manually, it is correctly recognized by Gmail as an email invitation. Anything that I might be missing?
Try to change the rule to run a VBA script instead. In that case you will be able to forward the meeting request item programmatically. For example, the code should look like:
Public Sub Test(item as MeetingItem)
' do whatever you need
End Sub
You can call the Forward method of the MeetingItem class to execute the Forward action for an item. It returns the resulting copy as a MeetingItem object.

Posting a message from a Yammer app - notifications?

We are posting a message to Yammer from our app about a specific user> Is it possible for the user to receive a notification about this message and if so how do we enforce this?
I've tried including "#username" in the message body but to no avail...
When a user is #mentioned ("at mentioned") in a conversation that thread should appear in the user's inbox. It won't appear in the notifications because that is reserved for specific notifications.
When you #mention the user today is the #username part being correctly linked to their profile? If not you might want to check out my other post on this subject. Once the permalink is used you should see it replaced with the user's profile name, and this is what triggers the connection. It should then appear in the inbox of the #mentioned user, even if they don't follow the conversation in their inbox.

Resources