Code Monkey home page Code Monkey logo

elasticemail-php's People

Contributors

eeppodolak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

elasticemail-php's Issues

Tags & releases

Could you please release at least a version (tag) here in GitHub? We cannot use the library in projects that have minimum-stability stable.
I see library is already at version 4.0.x, but its not reflected here and it makes it hard to work with it.

Missing API features

We're currently in the process of updating the Drupal integration with ElasticEmail and one part is to use this library instead of writing all ourselves.

However, we're missing some important API features like e.g. Account/Load and others with regard to statistics and logs.

Are they really missing in the library or have they been hidden so well?

"Invalid value for enum '\ElasticEmail\Model\EventType', must be one of: 'Submission', 'FailedAttempt', 'Bounce', 'Sent', 'Open', 'Click', 'Unsubscribe', 'Complaint'"

Hello, for some messages I got interesting error.
Event type was not in the allowed list. And here is example of result that I got from the API

{
  "TransactionID": "e9173e6a-e237-4174-a06a-d8547d82630e",
  "MsgID": "Dw7ZNxeDhF8F5FDrJVYMaQ2",
  "FromEmail": "[email protected]",
  "To": "[email protected]",
  "Subject": "Sit Down  . . .",
  "EventType": 30,
  "EventDate": "2023-11-10T13:30:10Z",
  "ChannelName": "HTTP API",
  "MessageCategory": "NotDelivered",
  "NextTryOn": null,
  "Message": "Delivery not attempted because Contact's status was 'Stale' at the time of sending.",
  "IPAddress": "",
  "PoolName": ""
},
{
  "TransactionID": "e9173e6a-e237-4174-a06a-d8547d82630e",
  "MsgID": "tUcpo8WogEx6yCgs5L9EHg2",
  "FromEmail": "[email protected]",
  "To": "[email protected]",
  "Subject": "Sit Down  . . .",
  "EventType": 30,
  "EventDate": "2023-11-10T13:30:10Z",
  "ChannelName": "HTTP API",
  "MessageCategory": "NotDelivered",
  "NextTryOn": null,
  "Message": "Delivery not attempted because Contact's status was 'Stale' at the time of sending.",
  "IPAddress": "",
  "PoolName": ""
},
{
  "TransactionID": "e9173e6a-e237-4174-a06a-d8547d82630e",
  "MsgID": "AiAP7C3NWLdtKOeL8ePlGQ2",
  "FromEmail": "[email protected]",
  "To": "[email protected]",
  "Subject": "Sit Down  . . .",
  "EventType": 30,
  "EventDate": "2023-11-10T13:30:10Z",
  "ChannelName": "HTTP API",
  "MessageCategory": "NotDelivered",
  "NextTryOn": null,
  "Message": "Delivery not attempted because Contact's status was 'Unsubscribed' at the time of sending.",
  "IPAddress": "",
  "PoolName": ""
},

I changed email from and email to, because it's users data. But other information right from the API CALL

I used api call eventsByTransactionidGet

string(164) "Invalid value for enum '\ElasticEmail\Model\EventType', must be one of: 'Submission', 'FailedAttempt', 'Bounce', 'Sent', 'Open', 'Click', 'Unsubscribe', 'Complaint'"
string(2284) "#0 /var/www/project/vendor/elasticemail/elasticemail-php/lib/ObjectSerializer.php(542): ElasticEmail\ObjectSerializer::deserialize(30, '\\ElasticEmail\\M...', NULL)
#1 /var/www/project/vendor/elasticemail/elasticemail-php/lib/ObjectSerializer.php(420): ElasticEmail\ObjectSerializer::deserialize(Object(stdClass), '\\ElasticEmail\\M...', NULL)
#2 /var/www/project/vendor/elasticemail/elasticemail-php/lib/Api/EventsApi.php(235): ElasticEmail\ObjectSerializer::deserialize(Array, '\\ElasticEmail\\M...', Array)
#3 /var/www/project/vendor/elasticemail/elasticemail-php/lib/Api/EventsApi.php(163): ElasticEmail\Api\EventsApi->eventsByTransactionidGetWithHttpInfo('e8173e03-de70-8...', NULL, NULL, NULL, NULL, NULL, 'application/jso...')
#4 /var/www/project/includes/Model/ElasticEmail/ElasticEmailLogService.php(106): ElasticEmail\Api\EventsApi->eventsByTransactionidGet('e8173e03-de70-8...')

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.