Using the php funtion mail() you can send emails. However, take note that most web hosts forbid the sending of mass mail. It takes up far too much of the servers resourses. You should look into use a dedicated mail host or mail server rather than shared hosting.