Skip to content

JetMixTech/Sender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sender for callbacks from sites

Work only for POST request, in otherwise you will get response:

{"success": false, "code": 405, "message": "Only for POST request"}

For request required next fields:

  • companyName - required
  • companyMail - required
  • companySite - required
  • companyPhone - required
  • payload.customer - required
  • payload.phone - required
  • payload.time - required

In otherwise you will get response:

{"success": false, "code": 400, "errors": [{"companyName": "Field cannot be blank"}], "message": "Fields cannot be blank"}

When mail is sent, you will get response:

{"success": true, "code": 200, "message": "Email sent successfully"}

In otherwise you will get response:

{"success": false, "code": 500, "message": "Failure when sending email"}

License

MIT - https://opensource.org/licenses/mit-license.php

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published