# Help Regarding XML Guestbook tutorial on Kirupa

**URL:** <https://forum.kirupa.com/t/help-regarding-xml-guestbook-tutorial-on-kirupa/324409>\
**Category:** flash\
**Created:** [August 19, 2011, 10:26am UTC](https://forum.kirupa.com/t/help-regarding-xml-guestbook-tutorial-on-kirupa/324409 "2011-08-19T10:26:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jatintalwar](https://avatars.discourse-cdn.com/v4/letter/j/f19dbf/32.png) [@jatintalwar](https://forum.kirupa.com/u/jatintalwar)\
**Post date:** [August 19, 2011, 10:26am UTC](https://forum.kirupa.com/t/help-regarding-xml-guestbook-tutorial-on-kirupa/324409/1 "2011-08-19T10:26:39Z")

</div>

Guys  
I have incorporated the following XML guestbook on my site and it works like a charm since its inclusion on my site

[URL=“[http://www.kirupa.com/web/xml\_guestbook.htm](http://www.kirupa.com/web/xml_guestbook.htm)”][http://www.kirupa.com/web/xml\_guestbook.htm](http://www.kirupa.com/web/xml_guestbook.htm)

However , I wud like to have some expert advice on :

How to send a mail to me when anyone adds a message on the guestbook ??

I guess it is possible as whenever one xml object is send to the php file for processing by sendAndLoad function , it can also send a mail via php …  
the code that sends xml data to php in this actionscript is

```auto
[COLOR=#000000]myXML[/COLOR].[COLOR=#000000]sendAndLoad[/COLOR][COLOR=#000000]([/COLOR][COLOR=#666666]"processXML.php"[/COLOR], [COLOR=#000000]receiverXML[/COLOR][COLOR=#000000])[/COLOR];

```

can some code be added in the processXML.php which also sends a mail vial “mail” function in php ??  
can anyone help .??
