|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
sending mail - allowed 'headers'
does anyone knowwhere I can find the documentation about what 'headers' are allowed in the pear mail send function.
Thanks. |
|
#2
|
|||
|
|||
|
RE: sending mail - allowed 'headers'
I switched to sendmail, I am thinking this would be more of a sendmail thing. Can someone clarify where the pear stops and sendmail takes over.
I imagine that the function just throws the string to the sendmail function without really doing anything with it, parsing it etc. |
|
#3
|
|||
|
|||
|
RE: sending mail - allowed 'headers'
The PEAR Mail class takes whatever you give it and dumps it to sendmail or to the SMTP server of your choice. Sendmail does not care what headers you add as long as it gets its minimal for sending (FROM, TO, SUBJECT, DATE).
Good choice to use the PEAR classes, if you ever chroot your servers you'll be glad you did. |
|
#4
|
||||
|
||||
|
RE: sending mail - allowed 'headers'
I beleive any of the standard email headers are allowed. I personally have the following headers - From: Subject: and Reply-To: . with the get() is where I set the text and HTML charsets and encoding so those headers will be generated for me in the build.
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PEAR Packages > sending mail - allowed 'headers' |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|