Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Need Help On Mail2SMS Script... 
 
Hello,

This is my first PHP program.and i wanted to develop it..but i havent more knowledge.i need your help to do this.....

I wrote this PHP snippet to send SMS to my local network through mywebsite.Now i wanted to send a MMS to it.But i dont know How to attach image to it... Can you please help me to do this...

Below is my SMS Code....

<html>
<body><?php
if (isset($_REQUEST['email']))
//if "SMS form" is filled out, send email
  {
  //send email
  $to = $_REQUEST['email'] ;
  $subject = $_REQUEST['subject'] ;
  $message = $_REQUEST['message'] ;
  mail( "$to@sms.mtel.com", "$subject",
  $message, "||SSSSS||" );
  echo "Thank you for using my Testing SMS System.";
  }
else
//if "email" is not filled out, display the form
  {
  echo "<form method='post' action='mail.php'>
  mobile number(e.g 7123456789): <input name='email' type='text' /><br />
  Name: <input name='subject' type='text' /><br />
  Message:<br />
  <textarea name='message' rows='15' cols='40'>
  </textarea><br />
  <input type='submit' />
  </form>";
  }
?><br>
</body>
</html>


if i change..... mail( "$to@sms.mtel.com", "$subject",  to mail( "$to@mms.mtel.com", "$subject",
then thisone send pefectly..without any issue....But i wanted to Send with Image..How can i attach a image to this programme(Upload images from my computer or Select available images)

Can anyone give me a full code for this? and please intergrate that code to my code also or send me a Complete answer to how to do this?

thanks
 



 
systemSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Need Help On Mail2SMS Script... 
 
Please, beware of posting on the correct sections.

That is not related to IP, neither a mod. Moving to another section...

Moved to English Chit Chat.
 



 
novice programmerSend private message  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron