Comments (5)
@almothafar there haven't been any changes to the Postmark's API and it should l be working as expected - Postmark allows up to 50 recipients as comma separated list in a string:
https://postmarkapp.com/developer/api/templates-api#email-with-template
It seems to me that there is something wrong with the string you're passing as the "To" field. It is not [email protected],[email protected]
but "[email protected],[email protected]"
(note the surrounding quotes) instead - could you check that?
You can also show us how you're constructing that message with multiple recipients.
from postmark-java.
@tomazy I don't have any quotes around emails, also, I checked logs everything was working fine from 28th of Oct to 7th of Nov, we did 0 changes to the code, and we didn't do any deployment on the 7th of 8th of Nov. where the issue starts to happen, I did another deployment in 14th of Nov. but still having the same issue.
I have something like this:
String from = "[email protected]";
String to = "[email protected],[email protected]";
Integer templateId = 123;
String subject = "Test subject";
final TemplatedMessage templatedMessage = new TemplatedMessage(from, to, templateId);
templatedMessage.setReplyTo(from);
templatedMessage.setTemplateModel(Json.toJson(templateData));
client.deliverMessageWithTemplate(templatedMessage);
from postmark-java.
OK, finally I saw the issue, To was "Name" <[email protected],[email protected]>
when I debugged it inside the postmark code itself, I found the reason for this, but I'm still confused, it was working like that before and now not working, or the change that deployed in 14th Nov. that written in 11th of Nov. somehow deployed to production in 7th to 8th of Nov., is that myself traveled in the time? or again that "Name" <[email protected],[email protected]>
was working and now not.
I'm totally confused...
Anyway, I fixed this from my side.
from postmark-java.
And still, if you can see my other notes in bullets will be nice, I can open another issue of these bullets if you want.
from postmark-java.
@almothafar glad you were able to locate and fix the problem. I'm going to close this ticket and please open separate ticket for other issues you have with the library.
from postmark-java.
Related Issues (20)
- Java 9: Illegal reflective access warning caused by JAXB dependency HOT 8
- [1.5.6] ProcessingException after upgrading from 1.5.5 to 1.5.6 HOT 10
- log4j2.properties overriding log4j2 configuration HOT 1
- Logging dependencies HOT 5
- Feature Request - support custom jackson object mapper HOT 3
- `message.addHeader` function not backwards compatible HOT 2
- Updated dependencies with high vulnerabilities HOT 1
- HeaderValueException:Too many "Content-Type" header values: "[application/json, application/json]" HOT 13
- HeaderValueException:Too many "Content-Type" header values: "[application/json, application/json]" HOT 2
- HeaderValueException:Too many "Content-Type" header values: "[application/json, application/json] HOT 2
- Apache Tika vulnerabilities HOT 2
- Version `1.8.2` introduces `slf4j-simple` dependency HOT 2
- Upgrade Apache Tika to address vulnerability HOT 2
- Improve error handling, when HTTP status is unknown HOT 1
- Is ApiClient threadsafe? HOT 3
- Support for Jakarta EE HOT 2
- Spring Boot random "SSLException: Connection Reset" with Java 8 HOT 6
- Spring boot version 3.XX support HOT 3
- Metadata field is not present in "Bounce" class HOT 3
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 postmark-java.