Function in Mysql for sending EMAIL

Asked

Viewed 2,460 times

-1

I want to shoot some email to some clients I have registered in a table, I did not want to develop an application to run this task, I would like to do directly in the data group, is it possible to create a function to send direct email from Mysql? (I remember that at a company I worked dba managed to do a function that was firing email straight through the bank, but the bank was oracle).

Someone has this code/hint ?

1 answer

3


In this answer has explaining how to do this: https://stackoverflow.com/a/4101782/2520523

But this is strongly discouraged.

Sending emails is not the responsibility of the database. This will be very harmful to the bank, system, etc.

Making an app for this task, in addition to being ideal, will be easier than doing it in the bank.

Rethink this idea, because it’s really bad.

  • 1

    so I’ll go to the app anyway, I thought I would not punish both the bank.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.