How to create an unsubscribe feature in Django? - django

I am working on a django project, and I'm needing to add an unsubscribe feature to my emails that the server will be sending out. The way that I am managing the mailing list is through a .csv file, which when someone signs up for a service of our's, they get added to the mailing list. In the emails, I want to add an easy unsubscribe feature which would only require the user to click the link in the email, which would lead them to a page that will have a button for the user to unsubscribe from the service, which would be accomplished by removing their name from the mailing list .csv file. My question is, how do I set it up where, when the link is clicked in the email, the website will already know which user is attempting to unsubscribe?
I was attempting to follow a tutorial here Tutorial but I do not have a "user profiles" set up, as it mentions. What other ways might this be accomplished? Is there a way to send the email's username to the website when the page is visited in order for me to make the unsubscription process easier?
Thank you in advance!

Related

Creating a 'View in Browser' link in Mailgun

I've managed to create an email template and sending out email via the Mailgun API along with using the standard variables like the recipient details and the unsubscribe links.
But one thing we would like to offer to the user is the ability to view the email in their browser instead of in the email client. Does anyone know if this is possible out of the box? I've checked all the documentation and I cant see any way of achieving this.
Thanks in advance.

How to configure a newsletter subscription with Sitecore 8.1, WFFM and EXM

I am new to sitecore developement and have one task to acheive using EXM and WFFM.
I have one newsletter subscription form which contains
Name
Email Address
Option to subscribe for News Letter or Current Vacancies
Captcha
Clicking on Submit, should send Email to the user with link to verify his email address. After clicking on link user will be added in email subscription list to receive newsletter and/or current openings.
I am not sure from where to start to implement this functionality. Any help in this regard is highly appreciated.
Thanks!
Mohit, this sounds like a small standalone project and it's hard to detail every single step in here, but I will at least point you on how to get started.
First of all, let me briefly explain the two Sitecore modules and how you can make them work togheter:
WFFM: Lets you create simple web forms that record and report information provided by visitors to your website
EXM: Lets you create and manage email messages, and manage subscription lists
In order to achive your project, you need to:
Create two subscription lists: Newsletter Subscription List and Current Vacancies Subscription List. Here are some instructions
Create the subscription form, containing the two subscription options. You can follow this detailed article from Sitecore, which explains how to create a form.
Trigger Confirmation email on WFFM submit and subscribe users to your lists: if you follow this article, you will understand how to add the "Subscribe to Recipient List" save action and to trigger a Subscription confirmation email
Configure EXM: Create a new message in EXM, which includes your subscription lists as recipients list
I hope this helps you get started.

Django 1.8: Is there a User-to-User messaging app that works both via the website and email?

I'm looking for a way for users to message each other via the website, with their own inbox, sent, etc folders, and to receive and reply to these messages via email as well. The email addresses used for replying are generated by the app to hide user's real emails. The app sits in the middle of the two users via the site and via email.
Both django-messages and django-postman give very little information about what email-related features they have. Can either do this, or is there an alternative?
Thanks
django-messages includes pretty much all you asked for including inbox, outbox, trash and many more goodies
django-postman seems even better and is in active development
try out these packages they both include documentation.

Upon adding a new document to a docLib, send a link to the document to an external user

I am working on creating a 2013/SharePointOnline workflow that will start when a new document is added to a specific document library, and then send an email, to an external user, with a link to the document.
For the purposes here, an external user, is a user who does not, and will not have an account in SharePoint. We will have the users name and email address.
Good stuff
I have a workflow that starts with a document is added.
The workflow then extracts a bit of meta data. (this works)
I can fire off an email to any internal user.
Problem:
When trying to send an email to an external user the workflow registers an error
This problem has several solutions I can find online, the easiest of which is
In Central Admin and Web Apps general settings - choose Workflows.
Adjust the setting "Allow external users to participate in workflow by sending them a copy of the document?" to yes.
Default is no.
But I have a really hard time finding this option in SharePoint online / 365.
I must not be looking in the right places. Does anyone know where I can find it?

email id of user from new facebook API

I have worked earlier on facebook API. I successfully used it and fetched all friend lists with their email ids. I was also able to get user email id who logged in through facebook API.
Now in gap of 7-8 months I found that faceAPI development section has been changed . New one is something different.
And now I am facing problem to get email id after user login at facebook.Yet all other details are coming like user name .user id and location except email id.
Old script is also not working with me. Could you help me to get email id of user who get login by facebook at my website.
Thanks for your cooperation.
No one will do your homework (upgrade the code for you)
Read the most current documentation
Accessing users e-mails require a special permission email
Users may choose not sharing their direct e-mail with you
You didn't say what technology you are using, but you can check the PHP-SDK example page to get started.
Direct Access Method:
Log into Facebook under your name. If you need an "Access Token", Click on the Extended Permissions and click the "read_friendlist" check box to get your Access Token and then
submit your query. You may need to "Allow" access, so just follow the prompts given.
Voila! You now have the usernames for everyone on your Friends List. The "username" parameter in the query will give you the contact email "message to that person" and you append #facebook.com and send them a message. Very simple.
http://developers.facebook.com/tools/explorer?fql=SELECT%20username%20FROM%20user%20WHERE%20uid%20IN%20%28SELECT%20uid2%20FROM%20friend%20WHERE%20uid1%20%3D%20me%28%29%29%20ORDER%20BY%20name
I had been using the import function in Yahoo Mail but now it has been limited to the first 50 names on your friends list. Where I work, they have over 6,000 friends between the two pages. This is a very simple solution to my problem. And now I can write a very small PHP sendmail program and send EVERYONE on the friends list an email message that goes directly to their messages. No more viewing page sources or manually doing this.
I can create a special email list on IFanz that will handle all dups, even if I repeat this process on a monthly basis to acquire new emails.
-SAB