inbound.Parse method fails with a panic for some of the received HTTP requests
I used example raw data with parseRawEmail function from Inbound parse helper and get errors : panic address or nil pointer dereference
Raw example:
--001a11447dc881e40b0537fe6d58
Content-Type: text/plain; charset=UTF-8
I've set up Inbound Email Parse Webhook. In the webhook I use https://github.com/sendgrid/sendgrid-go lib.
inbound.Parse method fails with a panic for some of the received HTTP requests I used example raw data with parseRawEmail function from Inbound parse helper and get errors : panic address or nil pointer dereference
Raw example: --001a11447dc881e40b0537fe6d58 Content-Type: text/plain; charset=UTF-8
This is a test email with 1 attachment.
--001a11447dc881e40b0537fe6d58 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">This is a test email with 1 attachment.<br clear=3D"all"><= div>
<div class=3D"gmail_signature" data-smartmail=3D"gmail= _signature"><div dir=3D"ltr"><img src=3D"https://sendgrid.com/brand/sg-logo= -email.png" width=3D"96" height=3D"17">