Giter Club home page Giter Club logo

sendy.net's Introduction

Sendy.Net

========= Sendy.Net is a .Net library that can be used to interact with the Sendy API. Subscribe, Unsubscribe, access subscriber status, lists, create and list campaigns.

It has been built to interact version 1.1.6

When to use it?

If you have recently decided to use Sendy over an existing email campaign/newsletter service, then you can simply call the Sendy.Net API from within your code.

It is especially useful if you are creating your own user/client database, so are saving details prior to subscribing them to the email campaign/newsletter service.

What is Sendy

Sendy Logo

Sendy is a self hosted email newsletter application that lets you send trackable emails via Amazon Simple Email Service SES. This makes it possible for you to send authenticated bulk emails at an insanely low price without sacrificing deliverability.

The Sendy API

Sendy's API is based on simple HTTP POST. Use the API to integrate Sendy programmatically with your website or application. We're working to include more APIs.

##Campaign API The default Sendy API does not contain any functionality for creating Campaigns. You can download a small zip file which contains a Campaign API from here

Helpful Resources

If you would like some help with getting set up, or you are thinking of setting up Sendi on Azure, then take a look at Scott Hanselman's Blog article.

Hanselman on Sendy

If you would like to download the Campaign API, check it out here.

Campaign API

Issues I encountered

###Sendy 1.1.6 My installation of Sendy was on a Windows Server with Windows Server 2008 R2 Standard 64-Bit OS installed. When setting up the bounces and complaints handling, Amazon AWS would sit at "Pending Confirmation". I delved into the php code, which Amazon AWS contacts when trying to certify your SNS Notification settings, and noticed that there is a line of code like this;

$server_path_array = explode('includes/campaigns/bounces.php', $_SERVER['SCRIPT_FILENAME']);

This looked harmful enough, until I realised that $_SERVER['SCRIPT_FILENAME']) was returning the path with backward slashes '' instead of the expected forward slash '/'. As a result, the certs/cacert.pem file was not found and not certified.

Leonardo Cortez came up with an elegant solution to solve this problem by updating the php code to replace the slashes. So wherever you see a reference to $_SERVER['SCRIPT_FILENAME'], replace the code with;

strtr($_SERVER['SCRIPT_FILENAME'], '\\', '/')    

###Campaign API The Campaign API would fail if your administrator user had set up a brand using the same email address. The Campaign API would attempt to get the app from the DB based on the email, but would not find it. This would basically break the whole api.

Questions?

Send me a tweet My Tweet or catch me in JabbR if you can.

sendy.net's People

Contributors

timbjames avatar

Watchers

James Cloos avatar Eli Schleifer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.