Geeks With Blogs
Theo Moore Questions... Morphology? Longevity? Incept dates?

Just an interesting note, but the Option Explicit switch in QTP doesn't apparently *always* work. I can routinely find cases where the switch isn't honoured. Not only is the value not there (i.e., a null variable), but the code in question *should* through an error thanks to the null value (like Div by Zero), but it doesn't....grrrrr......these sort of things drive me *nuts*!!!!

Also, I might not be posting as much in the next few weeks. I am working to get up to speed on the setlist for Jaded,  the 80s Metal band I've been asked to join. Nothing like playing some old Twisted Sister or Dokken to set the mood for an evening. :-)  Note the site is still seriously under construction, but coming along nicely. On that note, if anyone is familiar with setting up how to send an e-mail on a Linux server, I'd appreciate some help. Basically, if someone completes a little form, we should send them a confirmation e-mail. Windows, sure, but it was $7 more a month.....

Join me at:


SC Code Camp 2.0


Posted on Tuesday, May 30, 2006 7:12 AM | Back to top


Comments on this post: QTP: Option not so explicit

# re: QTP: Option not so explicit
Requesting Gravatar...
This may be over simplified but ..

<?php
$to = "greg@fubar.com";
$subject = "Test";
$body = "My First PHP email";
if (mail($to, $subject, $body)) {
echo("Sent");
} else {
echo("failed");
}
?>

beyond that it is just a matter of setting
[mail function]
sendmail_path = /usr/sbin/sendmail

but I would imagine your host has already done this for you.
Left by Greg Young on May 30, 2006 3:07 PM

Your comment:
 (will show your gravatar)
 


Copyright © Theo Moore | Powered by: GeeksWithBlogs.net | Join free