Jump to content

send email working only on gmail


darhal

Recommended Posts

Posted

Hello,

I made system that send email for account recovery but the email sent only to gmail accounts and not other providers like hotmail idk why ?

#include <iostream>

int main() {

    std::cout << "C++ is amazing <3" << std::endl;

    return 0;

}

I left MTA !... I m doing some tuts about (servers and scripting here) subscribe please

Posted
Hello,

I made system that send email for account recovery but the email sent only to gmail accounts and not other providers like hotmail idk why ?

post your PHP file here.

Do not yield your back to your enemy, might feel something strange in your ass.

Two things are infinite the universe and human stupidity and i'm not sure about the universe.

UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle

Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators

Posted
  
<?php 
       include( "mta_sdk.php" ); 
    $input = mta::getInput(); 
    $to      = $input[0]; 
        $subject = $input[1]; 
        $message = $input[2]; 
        $header = $input[3]; 
         $sent = mail($to, $subject, $message, $header); 
    mta::doReturn($input[0], $sent); 
 ?> 
  

#include <iostream>

int main() {

    std::cout << "C++ is amazing <3" << std::endl;

    return 0;

}

I left MTA !... I m doing some tuts about (servers and scripting here) subscribe please

Posted

try to use sth like this

$mail = $subject;  
if (!preg_match("#^[a-z0-9._-]+@(hotmail|live|msn).[a-z]{2,4}$#", $mail))  
{ 
   // your code here  
} 

Do not yield your back to your enemy, might feel something strange in your ass.

Two things are infinite the universe and human stupidity and i'm not sure about the universe.

UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle

Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators

Posted

like this ?

<?php 
     
include( "mta_sdk.php" ); 
    $input = mta::getInput(); 
    $to      = $input[0]; 
    $subject = $input[1]; 
    $message = $input[2]; 
 $header = $input[3]; 
$mail = $subject; 
if (!preg_match("#^[a-z0-9._-]+@(hotmail|live|msn).[a-z]{2,4}$#", $mail)) 
{ 
   // your code here 
   $sent = mail($to, $subject, $message, $header); 
   mta::doReturn($input[0], $sent); 
} 
 ?> 

Edit : it dont work now for both gmail and hotmail

#include <iostream>

int main() {

    std::cout << "C++ is amazing <3" << std::endl;

    return 0;

}

I left MTA !... I m doing some tuts about (servers and scripting here) subscribe please

Posted

anyone help me please ? :(:cry:

#include <iostream>

int main() {

    std::cout << "C++ is amazing <3" << std::endl;

    return 0;

}

I left MTA !... I m doing some tuts about (servers and scripting here) subscribe please

Posted

@walid That doesn't do anything. it's just for checking. it will not effect.

@darhal Change the headers to avoid being caught in the spam filter.

Posted

I m using 000webhosting and I think the problem from there because I dont know how to configure it can any one help me ?

#include <iostream>

int main() {

    std::cout << "C++ is amazing <3" << std::endl;

    return 0;

}

I left MTA !... I m doing some tuts about (servers and scripting here) subscribe please

Posted

There's no problem with the code.

-----------------------------------------------------------------

Free PHP webhosts are just crappy.

Try to change your host into something with cpanel.

I wrote nothing.

Nothing.

Posted

They have cpanel already

#include <iostream>

int main() {

    std::cout << "C++ is amazing <3" << std::endl;

    return 0;

}

I left MTA !... I m doing some tuts about (servers and scripting here) subscribe please

Posted

Ok thank you i like it but the sub domain doesnt work

#include <iostream>

int main() {

    std::cout << "C++ is amazing <3" << std::endl;

    return 0;

}

I left MTA !... I m doing some tuts about (servers and scripting here) subscribe please

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...