Email API

Moved

Total Downloads: 644 - First Release: Nov 2, 2014 - Last Update: Jun 27, 2015

5/5, 3 likes
  1. Wulf

    Wulf Community Admin

    Those are not supported with this, only the providers mentioned on the Overview.
     
  2. Well I've now set it up with mailgun, but everytime I try to send an email it says: [Oxide] 16:43 [Info] [Email API] Email failed to send!
     
  3. Wulf

    Wulf Community Admin

    Try with debug set to true in the top of the plugin.
     
  4. Code:
    [Oxide] 16:52 [Info] [Email API] POST URL: https://api.mailgun.net/v3/sandbox459e48f997fc432b86756208b05072fe.mailgun.org/messages
    [Oxide] 16:52 [Info] [Email API] POST data: from=SKO-Gaming%3Cpostmaster%40sandbox459e48f997fc432b86756208b05072fe.mailgun.org%3E&to=SKO-Gaming%3Cticket%40sko-gaming.de%3E&subject=Admin+Tickets+%7C+A+new+Ticket+has+been+submitted%21&text=A+new+Ticket+has+been+submitted.+Ticket+ID+3%0D%0ATimestamp%3A+03%2F28%2F2016+16%3A52%3A01%0D%0APlayer%3A+%5BSKO%5D+Maurice+%2A+Kickback.com%0D%0ASteamID%3A+76561198198086843%0D%0ASteam+Profile%3A+https%3A%2F%2Fsteamcommunity.com%2Fprofiles%2F76561198198086843%0D%0APosition%3A+X%3A+657.5486%2C+Y%3A+52.51315%2C+Z%3A+362.5094%0D%0AMessage%3A+dasdasdsa%0D%0A
    [Oxide] 16:52 [Info] [Email API] HTTP code: 401
    [Oxide] 16:52 [Info] [Email API] Email failed to send!
    [Oxide] 16:52 [Info] [Email API] Forbidden
    
    Thats what I get with debug enable
     
  5. Wulf

    Wulf Community Admin

    That means your auth information is wrong in the config most likely. See Introduction — Mailgun API documentation.
     
  6. is it still working with amazon aws?
     
  7. Wulf

    Wulf Community Admin

    As far as I know.
     
  8. Just curious as to which is the quickest and easiest to configure?
     
  9. Wulf

    Wulf Community Admin

    To me Mandrill was, but they're discontinuing the free service soon if they haven't already. I'll be re-writing this in C# soon though, removing Mandrill likely and adding support for others such as SparkPost.
     
  10. Could you give an example on how to set this up using Mandrill? I have added the API and service to the plugin, but it says "Failed to send"
     
  11. Wulf

    Wulf Community Admin

  12. Wulf

    Wulf Community Admin

    I moved away from Mandrill to SparkPost, but I haven't added support for that yet. Most of the sites have docs on using their APIs, but it's pretty much just filling out the config with the right information from the provider's site.
     
  13. Can you summarise SparkPost? I actually already have an account for it and it looks much better.
     
  14. Wulf

    Wulf Community Admin

    It's basically the same, but the plugin doesn't support it yet.
     
  15. I have tried a few of the providers you listed right now I am trying sendinblue now I have the PrivateKey set with my API key yet when I try to send I get (with debug turned on):

    [Oxide] 22:30 [Info] [Email API] HTTP code: 401
    [Oxide] 22:30 [Info] [Email API] Email failed to send!
    [Oxide] 22:30 [Info] [Email API] {"code":"failure","message":"Key Not Found In D
    atabase","data":[]}

    I verified that my PrivateKey is correct, Any suggestions?
     
  16. Wulf

    Wulf Community Admin

    Did you reload the plugin? Did you try in the other key setting?
     
  17. Thanks for the reply. I put the key in the publickey and privatekey fields with the same result, reloaded. Is there a different provider you'd suggest?
     
  18. Wulf

    Wulf Community Admin

    I haven't tested/tried them lately, but hopefully will get back into it soon when I re-write the plugin in C#.
     
  19. I think this just broke.. is it because it's still LUA? It's very handy with /ticket to alert admins.. can we please get a fix? I am using Elastic and my account is fine.. has worked great for months until like.. the patch 2 days ago I think?

    When I do a test ticket I see:

    23:04 [Info] [Tickets] New Ticket #6:
    Kraxis (76561197971471161) - 3.2.2017 23:4
    testing

    And no email is sent.

    In the past I saw a lot more stuff:
    20:12 [Info] [Email API] POST URL: https://api.elasticemail.com/mailer/send
    20:12 [Info] [Email API] POST data: api_key=MY-API-HERE&[email protected]&from=kraxis%40effenshire.org&from_name=Effenshire+Admin&to=Effenshire+Admin%3Ckraxis%40effenshire.org%3E&subject=Tickets&body_html=New+Ticket+%233%3A%0D%0D%0A%5B%23C4FF00%5DKillercorpse+%2876561198018065332%29%5B%2F%23%5D+-+1.12.2016+20%3A12%0D%0D%0Asethome+not+working+again
    20:12 [Info] [Email API] HTTP code: 200
    20:12 [Info] [Email API] Email successfully sent!
    20:12 [Info] [Email API] b00d5d2a-5683-41e1-aca3-097736b07468