mailersend / mailersend-go Goto Github PK
View Code? Open in Web Editor NEWThe official MailerSend Go SDK
Home Page: http://developers.mailersend.com
License: MIT License
The official MailerSend Go SDK
Home Page: http://developers.mailersend.com
License: MIT License
Go code
mailersend.Attachment{Filename: "filename.png", Content: encoded, ID: "filename"}
Email Source
Content-Type: image/png; name=filename.png
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=filename.png
Seems its messing 'Content-ID: '
Please add the following endpoints on the new Sender Identity section, below the Domains.
We should allow overriding base API url
https://github.com/mailersend/mailersend-go/blob/main/mailersend.go#L15
Hello! I've started using the Go SDK and noticed it lacks types for webhooks. Since there are an extensive number of event types it'd be great if this repo contained canonical types I could import rather than defining & maintaining them all myself.
Many of the types that look like they would be usable are unexported currently
Thanks!
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
.github/workflows/test.yaml
actions/checkout v4
actions/setup-go v5
go.mod
go 1.17
github.com/google/go-querystring v1.1.0
github.com/stretchr/testify v1.8.4
We added two parameters for our domains: ignore duplicated recipients and add a precedence bulk header. Both of these parameters have to be added to our related Domains endpoints.
We recently added the in-reply-to option to the header.
Please include it in the SDK, under the Send an email endpoint. Documentation is here.
As to better enforce security on our SDKs and avoid incidents, please avoid suggesting our users to set explicit declaration of the API/SMTP token in the code and instead suggest setting the API key as an environment variable.
We recently changed activity fetch in our app so the pagination wasn’t working anymore for the API, could you update the Activity endpoint to match the most recent update?
We have a new parameter called "inbound_priority" on our Inbound Routes. This parameter allows our users to create multiple inbound routes per inbound subdomain. Each one of the routes will be processed in a descending order. Values can be between 0 and 100. 0 has more importance than 100.
need to backfill tests for this project
There is a type issue with the email.From
field causing an error when decoding the response. Is Recipient
, should be string
.
I've created a PR for the fix: #73
If specified, message values should overwrite template defaults. For example, if subject is specified it should replace the default template subject.
Please update the list of all webhook events in the documentation or any place where they are mentioned:
SOFT_BOUNCED = "activity.soft_bounced",
HARD_BOUNCED = "activity.hard_bounced",
OPENED = "activity.opened",
OPENED_UNIQUE = "activity.opened_unique",
CLICKED = "activity.clicked",
CLICKED_UNIQUE = "activity.clicked_unique",
UNSUBSCRIBED = "activity.unsubscribed",
SPAM_COMPLIANT = "activity.spam_complaint",
SURVEY_OPENED = "activity.survey_opened",
SURVEY_SUBMITTED = "activity.survey_submitted",
IDENTITY_VERIFIED = "sender_identity.verified",
MAINTENANCE_START = "maintenance.start",
MAINTENANCE_END = "maintenance.end",
Please use mailersend.com/contact-us for support questions. This repo should be kept for actual code bugs and/or improvements, and related issues.
Documentation: https://developers.mailersend.com/api/v1/email-verification.html#verify-an-email
Library at the moment only works with lists.
We have information on how to verify a signature in PHP but do not provide more code examples, please provide one and share here so we can publish it to the dev docs.
Any chance that inline images will be supported?
message.addInline("myLogo", "img/mylogo.gif");
<img alt="Embedded Image" src="images/realtalklogo.png"/>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.