Is bulk messaging advertising legal?

Is bulk messaging advertising legal?