Forums / Developer / e-mail newly published object's attributes
Abdul Rehman
Wednesday 11 October 2006 12:12:57 am
Hi all, I want to e-mail a newly published ojbect attributes (in which a file attribute is mandatory) to a given e-mail address and sending that file as an attachment is mandatory as well. Plz, guide me how to achieve this. A few guidelines regarding coding apects will be more useful for me since I am new to ez publish.
Thanks for the fans of ez publish.
Xavier Dutoit
Wednesday 11 October 2006 12:44:58 am
Two options: create an event or use the new custom edit handler (http://serwatka.net/en/blog/ez_publish_3_8_new_custom_edit_handler )
I never tried the later but it looks much more easier than the event (at least to test and debug).
X+
http://www.sydesy.com
Wednesday 11 October 2006 1:35:21 am
Hi Xavier, Thanks for so quick reply. Would you plz help me 1- how to exatract file attribute, say file name attribute is myfile? and 2- if we use http://serwatka.net/en/blog/do_you_need_action can we get file there using same as $http->postVariable( 'Subject' );
Thanks.