Sending email from PHP scrip
Posted by: bobr69
Posted on: 2009-02-12 13:16:00
I am creating a website using PHP, and the client will be using email heavily. I need to be able to create the email and send it via my DreamHost email server without the user having to open another email client (either thick or thin client). In other words - send the email directly from the website.
I've poked around in the Wiki for some information and can't seem to find it. I've looked at the "Mail" and "IMap" functions in PHP, but can't seem to figure out how to set the server name so that the email goes out via my DreamHost email server.
They will be sending both Announcements using an Announcement list on the server, and ad-hoc emails populating the recipients list from their DB of clients.
I'd appreciate any help pointing me in the right direction.
Thanks...