Jump to content

Master SMS Messenger


Recommended Posts

  • Replies 70
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • 3 weeks later...

I emailed email.php but couldn't find exactly what I was looking for, but I know basic php so I think I could be able to put something together.

When I use your script it says it connects to the php file with these headers: (Or whatever there called. These things: email.php?name=blabla and so on)

Name=

Username=

carrier=

message=

Submit=Send

I'm not sure where all this takes place in the php file.

So far I have this:

<?php
$to = $_GET["number"] . $_GET["carrier"]; 
$subject = _$Get["username"];
$body = _$Get["message"];
if (mail($to, $subject, $body)) {
  echo("<p>Message successfully sent!</p>");
 } else {
  echo("<p>Message delivery failed...</p>");
 }
?>

I just through this together. do you think this would work?

Link to comment
Share on other sites

@Almar,

huh

@CyberZeroCool,

My head is about to busrt! I just don't understand all this php stuff. Could you please help me out?

So far I have:

<?php

$EmailFrom = $_GET['From'];
$EmailTo = $_GET['To'];
$Subject = $_GET['Subject'];
$Body = Trim(stripslashes($_GET['Message'])); 


$success = mail($EmailTo, $Subject, $Body, "From: <$EmailFrom>");

if ($success){
  echo("Mail Successfully Sent!");
}
else{
   echo("Error Sending Mail.");
}
?>

and for autoit:

Func email( $from, $to, $carrier, $msg, $subject, $html = 0 )
    $soc = _HTTPConnect("www.******.com")
    $data = "To=" & $to & $carrier & "&From=" & $from & "&Subject=" & $subject & "&Message=" & $msg
    _HTTPPost("www.******.com", "/*******.php", $soc, $data)
    If Not @error Then
        $return = 1
    Else
        $return = 0
    EndIf
    _HTTPClose($soc)
    Return $return
EndFunc

but it's not working. Can you help me out please?

Link to comment
Share on other sites

I emailed email.php but couldn't find exactly what I was looking for, but I know basic php so I think I could be able to put something together.

When I use your script it says it connects to the php file with these headers: (Or whatever there called. These things: email.php?name=blabla and so on)

Name=

Username=

carrier=

message=

Submit=Send

I'm not sure where all this takes place in the php file.

So far I have this:

<?php
$to = $_GET["number"] . $_GET["carrier"]; 
$subject = _$Get["username"];
$body = _$Get["message"];
if (mail($to, $subject, $body)) {
  echo("<p>Message successfully sent!</p>");
 } else {
  echo("<p>Message delivery failed...</p>");
 }
?>

I just through this together. do you think this would work?

yeah it looks ok
Check out ConsultingJoe.com
Link to comment
Share on other sites

SendMail.php

<?php

$EmailFrom = $_POST['From'];
$EmailTo =$_POST['To'];
$Subject = "SMS";
$Message = $_POST['Message'];

$success = mail($EmailTo, $Subject, $Message, "From: <$EmailFrom>");

if ($success){
  echo "Mail Success!";
}
else{
  echo "Mail Failure.";
}
?>

SMS.au3

Func _SMS($From, $To, $Carrier, $Message)
    $Socket = _HTTPConnect("WWW.YOUSITE.COM")
    $Data = "To=" & $To & $Carrier & "&From=" & $From & "&Message=" & $Message
    _HTTPPost("WWW.YOURSITE.COM", "/folder/SENDMAIL.PHP", $Socket, $Data)
    If Not @Error Then
        $Return = 1
    Else
        $Return = 0
    EndIf
    _HTTPClose($Socket)
    Return $Return
EndFunc

Figuerd it out =P Finally!

Link to comment
Share on other sites

Sending Free SMS's ???

And whats with the Company ??

I mean... Can u send free SMS's (Like at a cellphone... that kinda SMS's)

And whats with the company ?? How I know what I sould choose??

Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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