PHP Mail-Funktion

This is a discussion on PHP Mail-Funktion within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Hallo, kennt jemand den Netzwerk-Hintergrund der einfachen Mail-Funktion von PHP? Mich würde interessieren, wie die das überhaupt ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-23-2007
Michael Kamp
 
Posts: n/a
Default PHP Mail-Funktion

Hallo,

kennt jemand den Netzwerk-Hintergrund der einfachen Mail-Funktion von
PHP? Mich würde interessieren, wie die das überhaupt macht, denn
anscheinend verbindet sie sich zum Beispiel nicht mittels SMTP?

Aufgefallen ist mir, dass man damit ja auch ganz einfach eMails mit
beliebiger Absende-Adresse verschicken kann. Das war zum Beispiel über
SMTP-Server die mit POP3-before-SMTP-Authentisierung nicht möglich.

Grüße,
Michael
Reply With Quote
  #2 (permalink)  
Old 03-26-2007
Michael Kamp
 
Posts: n/a
Default Antw: Re: PHP Mail-Funktion

> http://us3.php.net/manual/en/ref.mail.php
>
> If you have something specific you're dealing with, try posting
> again,


Hi Michael,

on the page you posted, it says

- "PHP must have access to the sendmail binary on your system during
compile time"

- in PHP_INI_ALL: SMTP=localhost, smtp_port=25


So if I understand this correctly, there is something like a local mail
server running on the same machine. So the mail-function does nothing
magical, but connecting to a local mail server (which seems to allow any
from-name and any from-address).

I was just wondering, how it sends the mail. So actually, it uses a
local mail server which needs to be installed.


Do you think, my considerations are correct?

Thanks,
Michael
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:35 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0