English
PHP, HTML & JavaScript- Forum

@IF - What am I doing here wrong?

 

Rolf
Koch
Folgender attachment.
thanks.php and Contact.htm

it come simply no Mails on.

Rolf
 
11/12/04  
 



I fahr same again in office, Have eh what forget - there gug I what fehl runs.

salvo, iF
 
11/13/04  
 




Rolf
Koch
THX IF -
 
11/13/04  
 



so, am office, time schaun...
 
11/13/04  
 



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
 
11/13/04  
 




Rolf
Koch
:+D)--
God Thanks. what about me thought already, that I The simplest items not any more hinbekomme.

Rolf
 
11/13/04  
 



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*
 
11/13/04  
 



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?
 
11/13/04  
 




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
 
11/13/04  
 




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
 
11/13/04  
 



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
 
11/13/04  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

7.082 Views

Untitledvor 0 min.
Seanser05/25/19
Michael W.05/03/18
Walter10/23/17
Georg Teles01/09/16
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie