This topic is locked

extract a mysql blob and attach it to an email

2/25/2021 6:20:30 AM
PHPRunner General questions
L
laamari author

Hi,

First thanks.

I need help.

I want to select and attach a blob from the mysql database to an email and send it to user. (the blob can be a jpeg or pdf).
thanks

Sergey Kornilov admin 2/25/2021

As a first step you need to save your blob file to the hard drive. Then you can attach it using this technique:

https://xlinesoft.com/dss/thread_view.asp?folder=xlinesoft&category=45&tid=1385357