Click here to Skip to main content
15,881,600 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
How can i convert following php code to C#?.

PHP
<?php

$to = $_GET["to"]; //The receiving mobile number
$from = $_GET["from"]; //The sending mobile number
$message = urldecode($_GET["message"]); //SMS content


// You may wish to log this information in a database

// Lets send an email with the message data
$email_message = "Inbound SMS sent to $to.\nSent From: $from\nMessage: $message";
mail("email@example.com", "Inbound SMS", $message, "From: email@example.com");
Posted
Updated 22-Mar-18 18:51pm
Comments
Thanks7872 21-Sep-15 2:28am    
Learn it and convert it yourself.

1 solution

Just check the following url

Need to convert PHP Code to C#[^]

Hope it helps.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900