[rt-devel] If no email set it to username at domain.com

Ajunpreet Singh ajunpreet at gmail.com
Fri Aug 17 09:27:16 EDT 2012


Im tring to make it so if user does not have an email address set it to
their username at myemaildomain.com

In users.pm i can set it so that $args{ ' EmailAddress ' } = $args{ 'Name'
} unless ($args{ ' EmailAddress ' })

but I need it so its their username followed by @something.com for all
users if email is not defined.

Is this possible?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-devel/attachments/20120817/f6f5f8c8/attachment.html>


More information about the rt-devel mailing list