php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #8006 raw_mail() function
Submitted: 2000-11-28 03:31 UTC Modified: 2003-02-26 14:16 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: james at ractive dot ch Assigned:
Status: Wont fix Package: Feature/Change Request
PHP Version: 4.0.3pl1 OS: all
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: james at ractive dot ch
New email:
PHP Version: OS:

 

 [2000-11-28 03:31 UTC] james at ractive dot ch
Dear PHP-Team

Maybe I'm not alone with my request.
What if you'd add a function that sends a mail without any parameters, but just the raw text that contains all header information?
The "problem" with the mail function is, that I have to strip out the "To:" and the "Subject:" header fields in the "addtitional headers". Otherwise the function mail() adds them again so that they are double.

My idea would be a function that just takes the full mail without any to, subject or additional headers parameters.
bool raw_mail (string mail)

Just an idea...

Regards

Jean-Pierre Bergamin
http://www.ractive.ch/gpl/popper.html

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-26 14:16 UTC] derick@php.net
Just use proc_open() or similar to open a pipe to sendmail and feed it the "raw data".

Derick
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 05 13:01:31 2024 UTC