<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7232.39">
<TITLE>Auto create users documentation</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">HI All,</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">I am using the most current version of rt 3.4 on centos 4. Everything is working great, but now I need figure out how to get new users created via email with a password assigned to their logon ID which I believe is just the from: email address.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">I have been all over the rt-users mailing list and haven't found any useful info.. Other than trying to edit rt3/RT/Interface/Email.pm.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Here is what I have currently.</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">sub CreateUser {</FONT>
<BR><FONT SIZE=2 FACE="Arial"> my ($Username, $Address, $Name, $ErrorsTo, $entity) = @_;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> my $NewUser = RT::User->new($RT::SystemUser);</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> my ($Val, $Message) =</FONT>
<BR><FONT SIZE=2 FACE="Arial"> $NewUser->Create(Name => ($Username || $Address),</FONT>
<BR><FONT SIZE=2 FACE="Arial"> EmailAddress => $Address,</FONT>
<BR><FONT SIZE=2 FACE="Arial"> RealName => $Name,</FONT>
<BR><FONT SIZE=2 FACE="Arial"> Password => $Address, ( this is what I added). </FONT>
<BR><FONT SIZE=2 FACE="Arial"> Privileged => 0,</FONT>
<BR><FONT SIZE=2 FACE="Arial"> Comments => 'Autocreated on ticket submission'</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">After sending an email from a test account, a ticket is created, and auto-response is sent, but when I try to logon with that newly created account, I can't.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">I looked into the privlidged users area in RT but really haven't found out where or why this isn't working.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Any help would be great.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Thanks,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Bryant</FONT>
</P>
</BODY>
</HTML>