| |
|
|
Rolf Koch | Folgender attachment. thanks.php and Contact.htm
it come simply no Mails on.
Rolf |
|
|
| |
|
|
|
| I fahr same again in office, Have eh what forget - there gug I what fehl runs.
salvo, iF |
|
|
| |
|
|
|
Rolf Koch | |
|
| |
|
|
|
| so, am office, time schaun... |
|
|
| |
|
|
|
| Nix make You wrong, it's located on the Server - be thereby.
its naturally one very plainer appeal - the mail - there leaves itself php on The config, on the bastle I strain because it hold so simply too weg ought to.
salvo, iF |
|
|
| |
|
|
|
Rolf Koch | :+D)-- God Thanks. what about me thought already, that I The simplest items not any more hinbekomme.
Rolf |
|
|
| |
|
|
|
| Nene, it's located on the server. The Mail-function is quite Profan what about me versende eigendlich always self via sockets and smtp-mail - aba i'm drann!
salvo, iF *fields* |
|
|
| |
|
|
|
| so, I Have you now ne right Mailfunktion geproggt (on Smtp Server=>Client Connection-Base) and a include to /includes laid. your Mailscript is already properly adjusted. I have me nähhhmlich consider The php-Own-mail-function freizugeben would quite careless. and we want us still not nachsagen let must possible sometime time gespammpt having To can. :biggrin:
for any The it interested: CompileMarkSeparation<?php
/* iFs smtp- server=>client directmailer */
;function email($to,$subject,$message) {
;smtpmail("rokosoft@mxii.com","lalaladumdidumlala",$to,$subject,$message)//<-- keine Hoffnung, ist das falsche Passwort ^^
;}
;function smtpmail($from,$pwd,$mail_to, $subject, $message) {
;function server_parse($socket, $response, $line = __LINE__) {
;$tmo=0
;while (substr($server_response, 3, 1) != ) {
;if ((!($server_response = fgets($socket, 256))) || ($tmo>8192)) {
;die("error")
;} else {
;$tmo++
;}
;}
;if (!(substr($server_response, 0, 3) == $response)) die("error")
;}
;$message = preg_replace("#(?<!)
#si", "
", $message)
;if( !$socket = fsockopen("localhost", 25, $errno, $errstr, 20) ) {
;return false
;} else {
;server_parse($socket, "220", __LINE__)
;fputs($socket, "EHLO " . "localhost" . "
")
;server_parse($socket, "250", __LINE__)
;fputs($socket, "AUTH LOGIN
")
;server_parse($socket, "334", __LINE__)
;fputs($socket, base64_encode($from) . "
")
;server_parse($socket, "334", __LINE__)
;fputs($socket, base64_encode($pwd) . "
")
;server_parse($socket, "235", __LINE__)
;fputs($socket, "MAIL FROM: <".$from.">
")
;server_parse($socket, "250", __LINE__)
;fputs($socket, "RCPT TO: ".$mail_to."
")
;server_parse($socket, "250", __LINE__)
;fputs($socket, "DATA
")
;server_parse($socket, "354", __LINE__)
;fputs($socket, "Subject: $subject
")
;fputs($socket, "To: $mail_to
")
;fputs($socket, "From: $from
")
;fputs($socket, "$headers
")
;fputs($socket, "$message
")
;fputs($socket, ".
")
;server_parse($socket, "250", __LINE__)
;fputs($socket, "QUIT
")
;fclose($socket)
;return | 11/13/04 ▲ | |
|
|
|
|
Frank Abbing | Hi iF.
[quote:9c9f101241]I have me nähhhmlich consider The php-Own-mail-function freizugeben would quite careless. and we want us still not nachsagen let must possible sometime time gespammpt having to. [/quote:9c9f101241] can you the Please hither explain? Gespammpt? |
|
|
| |
|
|
|
Rolf Koch | sees Yes super from, IF. from the construction and everything could the Yes not so heavy his. on my own therefore, because I then Grundzüge in C learnt have however: Diesen code as Php abspeichern? and what comes into HTML?
Nachtrag: I kuck now first again self. you have Yes written, my Script would already anpepasst. i'll old, yesterday evening 5 Flaschen Jever what about me Have a skull what about me wants yet so much manage
Rolf |
|
|
| |
|
|
|
Rolf Koch | Hi If,
works Yes really well. only, I as User the Formulars get a Bestätigungsmail.
I as Webmaster get The Mail unfortunately not. and the ought to still the object his.
Rolf |
|
|
| |
|
|
|
| Hehe Real? ^^
I gug ma. :+D)--
salvo, iF
@ Frank: roughly declared: with the php-own mail can annonyme Mails versenden - means mails without Sender or. with gefälschtem Sender.
with of my smtp-mail however working not there one Servereigener Accout to that versenden the Mails used becomes. there's bots The derartiges Verify - and one would like Yes not anybody negative-list disembark.
salvo, iF |
|
|
| |
|
|