Help for this page

Select Code to Download


  1. or download this
    curl "https://api.zeptomail.com/v1.1/email" \
            -X POST \
    ...
            "subject":"Test Email",
            "htmlbody":"<div><b> Test email sent successfully. </b></div>"
    +}'
    
  2. or download this
    #!/usr/bin/perl
    use strict; 
    ...
    } else {
      print "$response->{'content'} $response->{'reason'}\n";
    }
    
  3. or download this
    {"error":{"code":"TM_3501","details":[{"code":"GE_122","message":"Inva
    +lid value found","target":"from"}],"message":"Unprocessable Entity","
    +request_id":"2d6f.1281848db93b53d5.m1.659b6560-d7c7-11ed-90d9-525400d
    +4bb1c.1876c4546b6"}}