IF & DECLARE statements inside a stored procedure

Hi all

I’m trying to create some IF & DECLARE statements inside stored procedures
and I keep getting error (which are not very helpful).
I even copied samples from books and websites and they didn’t work as well.
I’m using mysql version 5.5.16.

I would much appreciate any help on this.

Thank you
Shahar

Welcome to the SP forums.

Could you post an example? And also the exact error you’re getting?

It turns out to be the firewall that blocked the email to the smtp.

Thanks :slight_smile: