Re: Generating Message-ID when sending messages

From: Date: Wed, 25 Jun 2003 22:29:12 +0000
Subject: Re: Generating Message-ID when sending messages
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-152891@lists.php.net to get a copy of this message
Hello, This is a reply to an e-mail that you wrote on Wed, 25 Jun 2003 at 23:11, lines prefixed by '>' were originally written by you. > I am trying to make it so that my PHP script generates it's own > Message-ID's when sending mail through Sendmail. For some reason > it is not working as I hoped. I have tried the mail() command by > using: > mail("dreamboy@aros.net","Subject","message","Message-ID: > <200306250355.WiApIFlA@aros.net>"); > That doesn't seem to work when I look at my e-mail client it seems > to have it's own message-id for the e-mail i sent, can anyone help > me on this? Maybe it is the MTA on your system that won't allow this, or if you are using a relaying SMTL server maybe that is forcing it's own message ID for some reason. I have used the method you described to add message IDs to e-mails in a number of PHP applications both on Windows (using a relaying SMTP server) and on FreeBSD (using sendmail). David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you? http://www.quizsender.com/ (developed entirely in PHP)

« previous php.general (#152891) next »