Tool

bdgreen's picture
tool
Reads:

4403

Score:
0
0
 
Comments:

0

Email Photos of Users in eDirectory via IDM

Author Info

3 July 2008 - 9:57am
Submitted by: bdgreen

(View Disclaimer)

license: 
None

The attached XML is an email action you can paste in to an IDM rule that will retrieve the photo (or any other base64 encoded attribute from eDirectory) and attach it to an email. In this example, we send an email out when someone is terminated with an inline image of that person. (See attachments for a screen shot of a sample.)

Some notes about using this XML...

  • The email type is TEXT which is on purpose even though it's actually an HTML email.
  • The token text containing the myboundary statements contain carriage returns which must be preserved for this email to work.
  • Use Designer to work with this rule (you'll need to paste it in to the XML source tab). If you use iManager, the carriage returns mentioned above most likely will get stripped.
  • This email depends on the custom-smtp-header which is available starting in IDM 3.5.x
  • This rule has been tested and formatting looks good in an Exchange 2003/2007 with Outlook 2003/2007 or Blackberry.
AttachmentSize
do-send-email-withpicture.txt2.75 KB

Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

© 2012 Novell