Sam, we close this issue as it has been solved (mails are sent correctly) and otherwise there is no point to argue about. Maybe my command of English to not sufficient but the simple question was whether it is correct that the when sending a mail via PHP the host name is set to the domain of the recipient address.
Example: 2 mails are sent by PHP submission: 1) mail('[EMAIL PROTECTED]', $subject, $message, $headers, 2) mail('[EMAIL PROTECTED]', $subject, $message, $headers, $param)); Log entries: Mail 1: started,id=000102C4.4671F8CC.00007528,from=<[EMAIL PROTECTED]>,module=esmtp,host=mydomain.com,addr=<[EMAIL PROTECTED]> Mail 2: started,id=0001044A.4671F8CC.0000752A,from=<[EMAIL PROTECTED]>,module=esmtp,host=nonlocal.com,addr=<[EMAIL PROTECTED]> Question was: is it correct that the host is set to the host of the mail-to address? Maybe that is irrelevant - so no answer required. Thanks! Bernd On Mon, 18 Jun 2007 10:21:57 -0700 [EMAIL PROTECTED] wrote: > 差出人: Bernd Plagge <[EMAIL PROTECTED]> > 宛先:: courier-users@lists.sourceforge.net > 件名: [courier-users] Problems with mails sent by PHP > 日付: Mon, 18 Jun 2007 09:43:42 +0900 > > Hi, > > I'm having some problems to send mail from PHP. > > PHP code: > > rest removed! -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users