Re: Send an e-mail witdh php

From: Date: Thu, 22 Nov 2001 13:21:03 +0000
Subject: Re: Send an e-mail witdh php
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-75503@lists.php.net to get a copy of this message
That doesn't work. He is gives the error: Failed to Connect Henk "Sebastian Wenleder" <Sebastian@wenleder.de> wrote in message news:p0510030ab822a385d74e@[192.168.100.2]... > >Hello, > > > >I want to send an e-mail to one address(To) and many carbon copies to many > >e-mailadresses(BCC). > > > >Is there a class to do this?? > > > >Henk > > > Hi Henk, > > You don't need a special class, just use: > > $to = "someone@domain.com"; > $subject = "Your Subject"; > $messages = "some text you want to send..."; > $headers = "CC: firstname<first@recipient.com>, second@recipient.com,"; > $headers .= "third@recipients.com\n"; > $headers .= "From: Your name<You@host.com>"\n"; > > mail ($to, $subject, $message , $headers); > > Best, > Sebastian

« previous php.general (#75503) next »