Team:Heidelberg LSL/How to onlineStore
From 2012hs.igem.org
(Difference between revisions)
Line 13: | Line 13: | ||
</style> | </style> | ||
- | + | <?php | |
+ | $to = "tim.heineman@gemail.com"; | ||
+ | $subject = "Hi!"; | ||
+ | $body = "Hi,\n\nHow are you?"; | ||
+ | if (mail($to, $subject, $body)) { | ||
+ | echo("<p>Message successfully sent!</p>"); | ||
+ | } else { | ||
+ | echo("<p>Message delivery failed...</p>"); | ||
+ | } | ||
+ | ?> | ||
<body id="home" onload="setPageSize()"> | <body id="home" onload="setPageSize()"> |
Revision as of 21:59, 11 June 2012
Message successfully sent!
"); } else { echo("Message delivery failed...
"); } ?>Under construction