Parses messages into a Message object with handy methods like getContent(),.Supports all of RFC-5322, RFC-2822 and RFC-822, and tries to be as forgivingĪs possible for incorrectly formatted messages.No need to worryĪbout whether the content is base64 encoded and using WINDOWS-1256 charsetĮncoding (so long as mb_* or iconv* support the charset, or I’ve identified Handles content decoding and charset conversion for you.Users rely on regex patterns to decode parts of a header, and end up ignoring
No need to worry about theįormat a header is in, if it’s RFC2047 or RFC2231, contains nested comments,Įmail lists, multiple lines, or combinations thereof. Handles header decoding/charset/formats for you.There are numerous advantages over other libraries: It does not use PHP’s imap* functions or the pecl mailparse There’s no need to worry about the Content-Transfer-Encoding, or how the name inĪn email address is encoded, or what charset was used.Īnd, unlike most other available email parsing libraries, MailMimeParser is its If you need a custom plan get in touch with us.Use ZBateson\MailMimeParser\Message $message = Message :: parse ( $handleOrStreamOrString, true ) $subject = $message -> getHeaderValue ( 'Subject' ) $text = $message -> getTextContent () $html = $message -> getHtmlContent () $from = $message -> getHeader ( 'From' ) $fromName = $from -> getName () $fromEmail = $from -> getEmail () $to = $message -> getHeader ( 'To' ) // first email address can be accessed directly $firstToName = $to -> getName () $firstToEmail = $to -> getEmail () foreach ( $to -> getAllAddresses () as $addr ) $attachment = $message -> getAttachmentPart ( 0 ) $fname = $attachment -> getFilename () $stream = $attachment -> getContentStream () $attachment -> saveContent ( 'destination-file.ext' ) See the plans and subscribe to the service. So we keep our price lower than most of our competitors, offering the optimum price/quality ratio in the market. We work harder than any other competitor in the market and try to spread the word to a bigger audience. We are a small but neat startup company without the huge expenses of our competitors. We'll fix it fast! Why is the price so competitive? If you have any problem with a special resume/cv format, please let us know. We do our best and enhance the API's capabilities frequently. Please note that, resume parsing depends on predictive models and can not be 100% accurate. If you need written consent for regulative purposes, we may arrange a signed and sealed agreement between two parties. Check our GDPR compliance, Privacy Policy statements for more information. Prompt API is a business located in European Union and we totaly respect our users' privacy concerns. We never store the parsed data, nor the resume files in any of our servers and we don't share this information with any of our partners. The resume files uploaded to our servers are parsed and automatically deleted after 15 seconds. We never store any private information on servers. If you need to parse a huge number of resumes at once, please contact us at for competitive discounts and fanatical support. header 'Content-Type: application/octet-stream' \
Email parser api code#
Use the following code to upload a resume from your computer to the service and get the resume parsed in JSON format immediately back. First, simply subscribe to the service (free tier available), get your API key and you are done. The procedure is pretty similar to what we do for parsing a resume on a URL. This code will fetch the sample resume in docx format located at curl -location -request GET '' \ Next, you can test using the following cURL command. Parsing a CV/resume on a URLįirst, start by subscribing to the service (free tier available), get your API key and you are ready.
Email parser api upgrade#
(No credit cards needed until you upgrade to a paid plan). using best in class NLP techniques, we are capable of parsing any resume/CV format out there. We have trained the parser model with more than 26.000 collage/university names and 70.000+ skills. Resume Parser API is well tested for English language and works generates somehow acceptable results for 12 more most common languages. Many of our users use our API for building usable datasets for an AI based job matching tool.