php mail() form problem

funny thing. I created a new file calles sendmail2.php instead of sendmail.php and now it is sending.
what a joke. same content in the file !

it is sending whola data BUT not this:
Code:
    if(isset($_POST['express_suchbegriff-1'])){
        $email_content .= 'Ihre wichtigsten Suchbegriffe 1: ' . $_POST['express_suchbegriff-1']."\n";
    }
    if(isset($_POST['express_suchbegriff-2'])){
        $email_content .= 'Ihre wichtigsten Suchbegriffe 2: ' . $_POST['express_suchbegriff-2']."\n";
    }
    if(isset($_POST['express_suchbegriff-3'])){
        $email_content .= 'Ihre wichtigsten Suchbegriffe 3: ' . $_POST['express_suchbegriff-3']."\n";
    }
    if(isset($_POST['express_suchbegriff-4'])){
        $email_content .= 'Ihre wichtigsten Suchbegriffe 4: ' . $_POST['express_suchbegriff-4']."\n";
    }
    if(isset($_POST['express_suchbegriff-5'])){
        $email_content .= 'Ihre wichtigsten Suchbegriffe 5: ' . $_POST['express_suchbegriff-5']."\n";
    }
    if(isset($_POST['express_suchbegriff-6'])){
        $email_content .= 'Ihre wichtigsten Suchbegriffe 6: ' . $_POST['express_suchbegriff-6']."\n";
    }
    if(isset($_POST['express_suchbegriff-7'])){
        $email_content .= 'Ihre wichtigsten Suchbegriffe 7: ' . $_POST['express_suchbegriff-7']."\n";
    }


all the other fields are included in the email. funny thing is first it send those fields aswell but not the name field.. now it is not sending this. omg. makes no sense
 
NEW PROBLEM

worked yesterday but today (!) host switched off mail() function. have to switch to wp_mail via smtp now.

I configured the wp smtp plugin for wordpress and it works.
But script not working because wp_mail function is unknown (script doesnt load plugins it looks like...)

who can fix this for me?? contact me, will pay.
 
Back
Top