Jump to content

Mail problem


b2k

Recommended Posts

Hello everybody, i`m creating a application in VB, quiero utilizar el envio de un string obtenida, pero no quiero utilizar servidores smtp ni nada por el estilo estoy tratando a traves de un motor php. Mis conocimientos sobre php son realmente basicos, entonces con un simple envio de un formulario de php

 

Código:

 

<?php

$correo = $_POST["correo"]; //Envia desde el formulario (curratelo) index.php el destinatario

$asunto = $_POST["asunto"]; //Envia desde el formulario (curratelo) index.php el asunto

$texto = $_POST["texto"]; //Envia desde el formulario (curratelo) index.php el texto

$cabecera= $_POST["cabecera"]; //Envia desde el formulario (curratelo) index.php de quien es

 

 

if ( mail('$correo', '$asunto', '$texto', '$cabecera') )

{

echo "¡Enviado!";

} else {

echo "¡Falló!";

}

?>

 

 

Ok, ahora como lo quiero utilizar desde una aplicacion externa y ese script lo voy a utilizar solamente yo, seria algo asi lo que quiero lograr.

 

Citar

http://www.midominio.com/script.php?de$para$mensaje$

 

o algo así, para poderlo implementar de forma externa, si me pudieran ayudar se los agradeceria grandemente.

 

Saludo fuertemente y tienen una excelente comunidad.

Link to comment
https://forums.phpfreaks.com/topic/45063-mail-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.