Page 1 of 1

How to use php mail with SpiderBasic

Posted: Wed Aug 26, 2020 1:53 pm
by munfraid
Hello everybody,

I'd like to send a mail from my web application using a simple php script, such as

Code: Select all

 <?php
$subject = "Subject for message"
$message = "Message text to send";
mail("someone@example.com", $subject, $message);
?> 
But how to send a string from SpiderBasic to the php script? Can anybody help?

Re: How to use php mail with SpiderBasic

Posted: Wed Aug 26, 2020 3:15 pm
by Kurzer
You can use the command HTTPRequest() to pass data to a php file on the server.

Re: How to use php mail with SpiderBasic

Posted: Mon Aug 31, 2020 1:29 pm
by munfraid
Thanks for the push in the right direction, kurzer! I finally learned some basics. ;)
Didn't expect it's that easy! :D