I don’t know about you, but I have been trying to get this to work for decades. Okay, realistically, every so often, I would do some Google searches, try a few things, and abandon the idea. Last night I tried again, thinking that it is 2020, and someone has to have this figured out, but nope, I couldn’t find anything. Thanks to my sleep apnea, I worked on it all night, and I figured it out. First, I did the initial 3DS MAX Script searches and found nothing, so I went down other rabbit trails. I thought if I can get my PC to email from a command line, I might be able to get things to work. The command line didn’t work, but PowerShell worked great! I started sending emails from PowerShell, and my next step was to get 3DS MAX to work with my PC. After an all-nighter, the solution was rather easy. Cut/paste this into your MAXScript utility, creating a new maxscript file, and point your Post-Render script to it.

$EmailFrom = "your email address" $EmailTo = " sending it to email address" $Subject = "your subject" $Body = "Your message" $SMTPServer = "your smtp server" $SMTPClient = New-Object Net.Mail.SmtpClient($SmtpServer, 587) $SMTPClient.EnableSsl = $true $SMTPClient.Credentials = New-Object System.Net.NetworkCredential("username", "password"); $SMTPClient.Send($EmailFrom, $EmailTo, $Subject, $Body)

Of course, you’ll need to fill in your information, set in bold for reference. I couldn’t get GMAIL to work, and it might be because of my two-step authentication.

Here is a screen recording of my steps. If you have any questions, feel free to reach out. Special thanks to @ThunderySteak for getting 3DS MAX to work for me.


Did you enjoy this article? I would love to hear your thoughts, so don’t be shy and comment below! Please don’t forget to subscribe to my RSS-feed or follow my feed on Twitter, Google+ and Facebook! If you enjoyed the following article we humbly ask you to comment and help us spread the word! Or, if you would like, drop me an email.