Here is the Sendgrid email sending code
$url = \'https://api.sendgrid.com/\'; $user = \'USER\'; $pass = \'PASS^5s\'; $fileName = \'qr.png\'; $filePath = dirn