how to extract users out of outlook.msg group - outlook

so we use Microsoft outlook as our email client in my organization. A user forwarded me an outlook group of users she emails to. The file is of the format userlist.msg and I can open it in outlook and see the user names and email address. (I can't copy and paste from outlook) However, I can't seem to extract the list into a comma delimited file that I need to import into another system.
The best I could come up with was to print the list to a PDF file and then extract the members from the PDF, but many are line-wrapped and the user name and email address are not separated?
Any ideas on how to extract them?

I played around with it a bit more and found I could open the contract group in outlook and then go to File --> Save As. Then I could choose Text only format (.txt). This gave me a neat enough file that I could work with.

Related

Automate saving received files in Teams chat

for any file that is sent to me via Teams chat, is there a way to trigger a flow to save it somewhere (one drive, sharepoint, etc)?
I would like to capture files sent to me from all chats.
Thanks!
Brook
From my experience, you'll find that they're already saved in your OneDrive instance.
When you think about it, they have to exist somewhere.
Try this ... go to your tenant URL but instead of using the main link, use your my link.
https://<your_tenant>-my.sharepoint.com/
If you can't work out what the URL is, go into Teams and find a chat that you know has had files exchanged previously.
From that chat, go to the Files tab.
Click on the three dots next to any file and select Copy Link, in there, you'll find the base URL that will give you the folder where all of the your files are stored.

Get CRM WRPC-Token for display images in Webressource

In my CRM HTML-Webresource, I got to display E-Mail activities with it's images (saved as attachments) as HTML. I take the description attribute for that.
As I realized, at least in CRM-Online, every attachment-image has a WRPC-Token that I need for the correct file path to load it.
How can I get the token? Most of the solutions that I found are either old or don't work for my circumstances.
Can I fetch the token out of the given HTML?
This approach doesn't make sense to me,
Attachments are stored within a database behind a web service, they are not at a file path you can simply open.
WRPC-Token's are used in security, I'm not sure how it is relevant or could provide a file path.
I would suggest writing code to access the CRM web services, this will enable you to retrieve the attachment data. There is an example here Sample: Create, retrieve, update, and delete an email attachment.

Delete all content on Yammer

We used to use Yammer a while back and now we're getting back on it. Problem is that most people who used it previously have left and the content left over is irrelevant today. Is there a way through an API or something to delete all content and posts on our Yammer network?
Your help is appreciated.
There are APIs which will let you delete messages (https://developer.yammer.com/docs/messagesid), but customers tend to just start using Yammer again. The old content disappears off the bottom. In many cases there are nuggets of info that get turned in up searches later which prove to be useful. if you want additional API help it may be best to open Support Requests with Microsoft for assistance. The main support site is available, but you can open requests through the O365 Admin Portal.
A bit old but still a relevant question. My organisation wanted to do this and the advice from Microsoft Premier support was:
Verified admin can choose to use the "Remove users" option under Network Admin portal. The option of "Permanently remove this user and messages" lets you remove the user and all the messages they posted (*note: This cannot be reversed).
As an alternative, for bulk deletion, the Bulk update feature, data export along with the Rest API endpoints should help achieve this. And before starting to delete the content ensure to set the data retention policy as "Hard Delete".
• For deleting the users/files/messages/notes, use the export files' (messages.csv, files.csv and Pages.csv) which have the API URLs in it which can be called from within a powershell script for example. One will have to format and make a post request through powershell. Herewith I attached an sample script just for your reference.
(it is regarding user deletion but similar call applies)
messages.csv api_url https://developer.yammer.com/docs/messagesid
files.csv file_api_url https://developer.yammer.com/docs/uploaded_filesid
Pages.csv page_api_url https://developer.yammer.com/docs/uploaded_notesid
• For managing and removing yammer users – you could delete the users using bulk update feature.
You could get users list by performing an export: Network Admin > Export Users and Export all users. Then perform a "Bulk Update Users" with the above spreadsheet saved as a .csv file. Note that you'll need two columns in this spreadsheet. The first should be titled 'Action' and the second should be titled 'Email Address' (both without the quotes). Under action, you'll want to put 'Suspend' on every line and you'll have your users' email addresses from step 6 under 'Email Address'.
Go to Network Admin > Bulk Update Users and import that .csv file there (there's a sample Bulk Update file for reference at the page itself – it has more columns than you'll need, so just pay attention to the first two).

Download all messages from a Google group

I'm in the process of developing a Google apps migration/archive system and at this point in development I'm trying to come up with a way to download all messages in all the groups that my domain users have created. I know that I can set up forwarding filters and have all messages archived to an email, but this doesn't help with older messages.
Is there a way to download these messages from a Google group and if so, is there away in the admin API to get a list of all groups that users have created?
If you don't mind using #bash, you may try a tool I wrote
https://github.com/icy/google-group-crawler
It can download all mbox files from Google Group. If you have a cookie file, you can even download all files from a private Google Group, and/or to see all original emails. It can also read rss feeds and fetch the latest posts ; and this is useful for daily mirror.
An example result is here http://l.archlinuxvn.org/archlinuxvn/. MHonArch is used to convert mbox files into HTML format.
Ultimately I ended up using the gdata python library to get a list of all groups along with their respective URLs. From there I used selenium to scrape the groups for messages and all replies. Probably not the best solution but it works for what I need.
I made a simple scrap utility by using selenium and htmlunit..
you can use it.. it is not very optimized and can help you download messages of small groups only(up-to 7000 msgs)
https://github.com/himukr/google-grp-scraper

Putting our logo in the Email Notifications that system sends out

We want to be able to show our logo, but it always comes out with "Download Image" prompt instead of showing the email in the body..
Emails are built using the Oracle Mail_pkg... How do I add the image to the HTML body so that it shows without a user having to download the image like it's an attachment? (also want to show it in blackberry)
I know it's possible since if you add an image to the outlook signature, you can see those pictures on outlook and blackberry
Along with a nice answer sleske provided I can suggest you to create a message you want to look like in Outlook or elsewhere, take a look at the message source and try to reproduce it in Oracle.
Also bear in mind that using utl_mail package you can send messages with body only 4 000 chars long (the size of varchar2 type in SQL). I can suggest you try utl_smtp package, though it requires a little more coding and accuracy, it gives you much more flexibility in creating fancy e-mails.
You need to include the image itself inside the email, usually as an attachment.
To have it show inside the email, you need to link to the attachment from inside your email. This is commonly done using the cid scheme.
See e.g. http://mailformat.dan.info/headers/mime.html for more information.
Or straight to the source:
Content-ID and Message-ID Uniform Resource Locators

Resources