Comments (6)
@dazzlingdoors As of now, this package's main purpose is for sending transactional emails. Not for managing newsletters/mailing lists.
Adding support for mailing lists should also include options for:
- Mailing lists
- Members
- Unsubscribes
- Complaints
- Campaigns
We could start out with the basic subscribing and unsubscribing.
from mailgun.
Since this is 3 months old and still open, is this still needed? If so i can start with it since the API for it looks quite simple.
from mailgun.
@Sepix I'm not sure if it is still needed but it would be a great addition to the package and I would really appreciate your help.
After reading through the Mailgun documentation I made a very basic list of the methods we should probably support and how they might be implemented. Please let me know what you think about it.
- Get all lists:
Mailgun::list()->all()
- Get list:
Mailgun::list()->get('list_address')
- Create new list:
Mailgun::list()->create(array(params))
- Update list:
Mailgun::list()->update('list_address', array(params))
- Delete list:
Mailgun::list()->delete('list_address')
- Get list members:
Mailgun::list()->get('list_address')->members()
- Get list member:
Mailgun::list()->get('list_address')->member('member_address')
- Add list member:
Mailgun::list()->addMember('list_address', array(params))
- Update list member:
Mailgun::list()->updateMember('list_address', 'member_address', array(params))
- Remove list member:
Mailgun::list()->deleteMember('list_address', 'member_address')
- (optional) Adding multiple members to list:
Mailgun::list()->addMembers('list_address', array(params))
from mailgun.
@Bogardo Sounds good to me beside the difference between addMember and addMembers. Its slightly confusing in the naming. Should either merge them into one and just always call the multiple function even if there is only one member in the array or rename it to something else.
Maybe also change
Mailgun::list()->get('list_address')->members()
to
Mailgun::list()->get('list_address')->all()
I will start with the other functions for now.
from mailgun.
@Sepix Looks good to me.
There is only a slight problem, list
is a reserved keyword so Mailgun::list()
is not going to work.
But Mailgun::mailinglist()
is too long for my taste. Ideas?
from mailgun.
Mailinglist features have been implemented, please update to version 3.1.*
from mailgun.
Related Issues (20)
- Clarification please regarding handling of http_response_body content and possibly guzzle and/or env setting? HOT 3
- Undefined Method error
- Type error: Argument 1 passed must be an instance of App\Http\Controllers\Message HOT 1
- Example send email to mailing list HOT 1
- Troubles with the API request, deprecated usable of mailgun-php lib HOT 2
- .
- Trying to get property of non-object HOT 1
- Update nesbot/carbon dependency HOT 1
- Cannot install php-http/guzzle6-adapter HOT 2
- Switching endpoint HOT 2
- Using full api from mailgun-php HOT 2
- Install on Laravel 5.8? HOT 4
- ERROR when passing a variable to to() HOT 1
- new release 5.1.0 with Carbon 2 is not available via composer and isn't on packagist HOT 1
- Error installing this package on Laravel 5.8 (clunky workaround included...can we fix the package?) HOT 1
- Upgrade Laravel 6 HOT 1
- Unable to install php-http / guzzle6-adapter in symfony 4.1
- Emails are not being sent or received.
- Mailgun custom notification channel
- specific attachment to each recipient in batch emails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mailgun.