php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13969 imap_mail() send email as anonymous@server?
Submitted: 2001-11-07 04:17 UTC Modified: 2001-11-10 12:08 UTC
From: tunazif at maxis dot net dot my Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 4.0.4pl1 OS: Redhat Linux 7.0
Private report: No CVE-ID: None
 [2001-11-07 04:17 UTC] tunazif at maxis dot net dot my
I'm developing web email using PHP. I'm sending emails using imap_mail() function which is very complete and easy to use. 

When I was writing auto-respond code, a user sending email from a web interface does not receive any autorespond email from the user. When I track into /var/log/maillog, when a user sending email from web interface (using imap_mail() function), the sender appears as anonymous@servername.

This is the configure line:-

'./configure' '--enable-track-vars' '--with-apxs=/usr/local/apache/bin/apxs' '--with-mysql=/usr/local/mysql' '--with-imap=/usr/local/imap-4.7c' '--with-gd'

There's nothing special or unique to the setup of the php.

Thank You... Please help me.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-10 12:08 UTC] sander@php.net
You can specify From: using the additional_headers parameter (see http://www.php.net/manual/en/function.imap-mail.php for more info). I presume imap_mail() uses the ini-specified mail address by default.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Oct 20 13:03:32 2021 UTC