Looks really cool, and is informative - something I've wanted to get a handle on for a while is email sent directly from Maya for better user support. Building up an error log alongside errors themselves, sending history contents, etc, allowing people to just have a "help beacon" that takes care of that all and stuffs it into an email, so they don't need to be super savvy in how they communicate the scene state, is a very attractive idea to me.
I had problems, though, trying to use a gmail account with this. I'm not sure, but I think it may have to do with gmail requiring TLS (SSL) Check out GMail's "standard instructions" here: http://mail.google.com/support/bin/answer.py?hl=en&answer=13287 And my errors: # Error: (421, 'Cannot connect to SMTP server 209.85.199.109 (209.85.199.109:25), connect error 10060') # Traceback (most recent call last): # File "C:\<snip>\sendInfoMail.py", line 170, in callOfficeMail # self.sendUsermail (getrecevier,getsubject,getBody,getServer,getServerPort,currentUserId,getpassWord,getAttachment) # File "C:\<snip>\sendInfoMail.py", line 211, in sendUsermail # smtp = smtplib.SMTP(smtpServer) # File "C:\<snip>\smtplib.py", line 246, in __init__ # raise SMTPConnectError(code, msg) # SMTPConnectError: (421, 'Cannot connect to SMTP server 209.85.199.109 (209.85.199.109:25), connect error 10060') # I used smtp server : smtp.gmail.com, tried both smtp ports : 465 & 587, used a valid user/pass, and un-commented line 213 as described inside the script, but still, it is a no-go. On Feb 20, 3:33 am, Achayan <kuria...@gmail.com> wrote: > Hi Guys > > I just done a new python script for Maya .. send mails from Maya . > > There is 3 options > > 1 : You can compose normal mail inside Maya and you can send to others > > 2 : If you want to send your details to someone there is option > > 3 : You can setup your mail server details > > Other Features : > > You can load a CVS formatted contact list to script and it can give > all the > contacts . > > You can download from there as py file > > http://achayan-s.blogspot.com/2009/02/maya-mail.html > > PS : This just a first version ... so if you have any bugs please send > a comment > And feel free to modify --~--~---------~--~----~------------~-------~--~----~ Yours, Maya-Python Club Team. -~----------~----~----~----~------~----~------~--~---