Using powershell, I want to create a mail list and add subscribed users to that list through MailChimp API v 3. I think I would read an SQL database of users then do a HTTP Post call to the mailchimp API for creating a list and batch posting the subscribed users.
Does any one have sample code or a simple tutorial?
I was only able to find old versions mailchimp v2/1 code samples:
http://poshcode.org/3479
http://poshcode.org/3351
Thanks.
Related
Can someone help me out that how I can fetch mails from Exchange User's mailbox using Microsoft Graph API?
Graph API is working fine for the online exchange users (O365) not for offline users (local users), but there is another problem too. Graph API provides Rest APIs by using which we can access each mailbox individually which will become very server loaded work if more than 1000K mailbox need to be scanned one by one and also a time taking process.
I want to fetch scan all user's mailbox at once both offline and online. Just like Microsoft Powershell do.
Is there any way to do so?
Any help will be deeply appreciated.
Thanks
I'm using the Outlook REST API 2.0. The API works good and I can retrieve the contact data.
But you also have an option within outlook to make "contact lists". Now I would like to retrieve these lists, but cannot find it in the API. Is it just not possible or am I seeing it wrong? Weird to not include this data in the API calls.
Thanks in advance,
DrunkenMoose
I think you are referring to "distribution lists". The question has been possibly answered here...
Create a mailing distribution group by outlook office365 API REST
I'm currently developing an app that fetches my contacts in my Microsoft account.
The problem is, unlike Google, when I send or receive an email to/from a new contact, it isn't copied into My Contacts, so I can't get it through https://outlook.office.com/api/v2.0/me/contacts.
However, when I wrote a new email, it appears as a suggestion, so I guess it is stored somewhere else.
The question is: is there a way to access to my suggested contacts through the API to get their emails? And how?
Thank you 😊
This feature is only available in beta version for now, please see the following api:
https://outlook.office.com/api/beta/me/contacts?$select=EmailAddresses,GivenName,Surname,DisplayName
This api will return all the contacts that you have received an email from or sent an email to :)
The closest thing to what you're looking for is the People API. As that page says:
The People API returns relevent person entities with each request. A person aggregates information from across mail, contacts and social networks. The results are ordered by their relevance, which is determined by the criteria specified in the request and ranked based on multiple communication, collaboration and business relationships.
Is there any way to post messages received in an email, directly as a Facebook post?
If yes, how can I do that?
I want to automate a page in Fb to spend less time there
Yes, one way of doing it would be to create a service or scheduled task which periodically does the following:
Use gmail API to get all unread messages
Each message will have an ID and you are able to check whether it has been read
Use the IDs to retrieve the message bodies
Use Facebook API to post the body data to the page
You can use Ballerina to create a stand-alone program or a service that you can invoke when it's needed. Use the facebook connector to get a list of comments and posts from your facebook page, create a payload string and send it to a destination email using the gmail connector. Look at the samples shipped with the distribution to get a head start.
We have an existing website that is built on DNN. I would like to add a script to an existing page that collects a user's request for to subscribe to various e-mails we publish and then to generate an e-mail that idenfies those requested newsletter subscription titles. Any ideas?
Data springs has some good subscription tools available, check out their suite of modules.
If you want to just collect names and email addresses with a request, the DNN Form and List module will work just fine.
If you just want a "subscribe to our newsletter" type of link on your page, you could couple that with a modal popup that shows the form when the link is clicked(Here is an excellent tutorial: http://www.dnncreative.com/Tutorials/DNNTutorialsforAdministrators/EasilycreatePopupsusingdnnModalshow/tabid/679/Default.aspx that will show you how to do it.)