Export email list parse for newsletter - parse-platform

How do I export the user emails from the database in a fast and easy way. I want the emails in a list so I can send out news letters. Thanks for help!

There's a button in the data browser to export data. I believe this goes to a .CSV file, so you can delete the other columns and then just use a batch email sender to send your newsletter.
OR
Create a program that queries the _User table and takes the email column and creates a .csv file.

Related

Is it possible to extract data from the body of an outlook email and throw it in SQL automatically?

Situation: We get audit emails every morning. The body of the email contains a table with various columns. The column labelled 'ID' is the unique key for each row. I have to copy the data from the ID column, format it in note++, and then paste it in a pre-filled query in SQL were I run it.
Question: Is it possible to automate this process? if so, where could I start? I would be nice if I could have something that either runs automatically or manually, reads the email, extracts the data from the column, formats it, and throws it in a query and executes.
Additional Details: The emails are always from the same distro, fire at the same time every day, and the table columns are static.
My skill Level: Beginner but resourceful and eager to learn, so please don't crucify me if I am not clear.
Yes, it is possible. You can develop a VBA macro or a COM add-in if you need to distribute your solution on multiple machines. Basically you are interested in handling the NewMailEx event of the Application class which is fired when a new message arrives in the Inbox and before client rule processing occurs. You can use the Entry ID returned in the EntryIDCollection array to call the NameSpace.GetItemFromID method and process the item. This event fires once for every received item that is processed by Microsoft Outlook. The item can be one of several different item types, for example, MailItem, MeetingItem, or SharingItem.
After retrieving the incoming item you can process it by getting property values and adding them to the SQL Db.
You may find the Walkthrough: Create your first VSTO Add-in for Outlook article helpful.

How to retrieve only certain data from Parse?

I am working with parse to save user data. I am saving every user that signs up in a parse table. I can run my app and see data from all the users who signed up; but I dont want that. What I want is to display information only from users in a friends list. Thats my problem. Should I create and query through a list of user ids or emails that I save internally in the device as JSON or raw data to upload in a new class in parse? Should I save these friend contacts directly in my current ALL USERS Parse table and get the data somehow without having the entire parse table provide all users data? I hope this makes sense to anyone. Any guidance would be really helpful. Thanks for your time.

Flow to pull name from email and put in a todo list

How can I build a Microsoft flow to pull a name from an email and place it into a todo list/excel file to check off if I viewed the person or not. Example: different email received from mother everyday to add someone new to the invitation list. And place that person in a todo list or excel file. Different person in each email. Is this possible?
Sure - create new flow with When a new email arrives trigger linked to your Outlook account. You can define specific e-mail address or e-mail subject to look for in your Inbox.
Then we assume that received e-mail contains only new person data which is triggerBody()?['Body'].
Crate some Excel sheet for eg. on your OneDrive account and put single column table inside.
Finally Add row into a table action is needed.

Import Email Id's In Magento Newsletter

I need to import 50k email ids for magento newsletter subscription.I found a tutorial to import, http://www.g31zone.com/?p=187. Is importing 50k email ids through an array is feasible?Is their any other way to import?
Edit
Is it possible to import customer name through this array?
Looking forward for your response!
Here is an extension:
http://www.magentocommerce.com/magento-connect/Jan+Wohlfeil/extension/2358/newsletter-address-import/reviews
Newsletters are in a different table to customers and import quickly.
With 50K subscribers you may want a proper newsletter manager, e.g. one where you can track bounces etc. CiviCRM CiviMail or phpnewsletter should do that for you.
Import Multiple Email Subscribers using .CSV
Create a .CSV file and title two columns subscriber_email and subscriber_status. Ensure these are correct else the import will not work.
Under subscriber_email list all email addresses. Under subscriber_status make sure each field value is 1.
In phpMyAdmin under Newsletter_Subscriber click import. Using the browse function select you .CSV file, ensure it's set to UTF-8 andfile format is .CSV.
Under "format specific options" in the column names filed enter: subscriber_email,subscriber_status.
Click go and all you fields will be imported instantly.
Finally, login to the Magento Control Panel and under Newsletter Subscribers you'll be able to view all the imported email subscribers.
http://www.littlekidsbeds.co.uk
You can add records directly to newsletter_subscriber table, choose correct store_id, customer_id = 0, subscriber_status = 1, subscriber_confirm_code empty.
Alternatively you could create simple PHP script that would use newsletter subscriber model, an example:
<?php
require_once "/path/to/Mage.php";
Mage::app();
$subscribers = array('email1#server1.com', 'email2#server2.com', ...);
foreach ($subscribers as $email) {
Mage::getModel('newsletter/subscriber')->subscribe($email);
}
Yeah go ahead had reset password of 30K customers in the same manner not to long ago :)

Magento - custom form

I have a form, which at the moment is a simple HTML based one, that doesn't do anything.
What I'm looking to do though, is to be able to send an email once the form has been submitted and also save the data to the database.
The problem comes, with the email sending. In the form, there is a drop down menu. The menu items are items in my suppliers model/module, which have a name and email address.
So, when I select Supplier A, the form passes validation, it needs to send Supplier A an email and save the details (this shouldn't be too hard).
I'm just not sure how I'd get the email address.
Would I need to pass some kind of parameter to a custom sendEmail() method?
All help appreciated.
Thanks
UPDATE:
Ok, so before I do the email part, I'd like to store the data in the table, named test drive.
I've created the module in the admin and a form to submit data from on the frontend end.
But I cannot seem to get the data to insert.
All help is welcome
Thanks
For sending email see this Mage_Contacts_IndexController::postAction() action or
Mage_Sales_Model_Order::sendNewOrderEmail()
If You created module with model, you can get instance of that model, insert data and then save it or You can create ResourceModel and then execute SQL.

Resources