|  | Programming Guide |        | 
Sends an image of a Panther widget as an attachment to the mail message
int sm_mail_widget(int obj_id, char *widget_name, char *attachment_name, int quality);int sm_n_mail_widget(char *name, char *widget_name, char *attachment_name, int quality);
obj_id- The mail object ID.
name- The name assigned to the mail object.
widget_name- The widget to be converted to a JPEG file and attached to the mail message.
PR_APPLICATIONwill send the complete MDI frame.- attachment_
name- The name to use when the file is saved by the message recipient. If the null string or null pointer is passed, the name used depends on the widget.
- quality
- An integer from 0 to 100. Low numbers give poorer image quality but reduce the file size.
sm_*mail_widgetcan only be used inprodevandprorun. The screen image of a widget is converted to a JPEG file and attached to the mail message.



