NYCPHP Meetup

NYPHP.org

[nycphp-talk] Send HTML mail with Javascript function

Aniesh joseph anieshjoseph at gmail.com
Thu Apr 26 04:31:10 EDT 2007


Hello All,

I am trying to send one mail with HTML content. To do this, I have added HML
header to mail function.

Inside the content, I added a Javascript function that calls a Ajax Page( to
send one mail to my mail address).

I called this Javascript function on the onload of body of html like

<html>

<head>

/* Javscript function and make call to AJAX action page */

</head>

<body onload="return functionname();">

 /*matter*/

</body>
</html>


But it did not work . Can we able to call JavaScript when loading the
content inside the mail ?

Can somebody help me?

Regards,
Aniesh Joseph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20070426/92f518a1/attachment.html>


More information about the talk mailing list