Activity › Forums › Adobe After Effects › “Render and email” to gmail?
-
Fabrizio Lazzeretti
January 21, 2009 at 6:26 pmHave you enabled pop3 in your gmail account?
You have to do it online once logged on your email account.Hope this helps.
-
Eliezer Cisner
January 21, 2009 at 6:44 pmThank you very much Fabrizio.
I enabled Pop (Pop3? No such option).
Still Emailed Failed!Although the second dialog:
Script Alert
Unable to send email.
TypeError: null is not an objectdoesn’t appear anymore (just the first one appears now: Emailed Failed!). Seems like we’ve solved one half of the problem. But the end problem still persists: I can’t email. Please help!
Thanks again Fabrizio and everyone else who helps and tries to help me with this problem! I really appreciate it!
-
Steve Mcdowell
January 21, 2009 at 9:06 pmThe unfortunate answer is that you’re not likely going to be able to do this with gmail & the Adobe scripts provided.
The more technical answer is that gmail’s SMTP server requires an authentication feature called “TLS”, which essentially establishes a secure connection between the the server and your script. You can’t easily script a TLS connection stuff using the existing Adobe scripts, and gmail won’t work without it.
TLS isn’t a always a requirement for email across the board, and the included scripts in AE will work fine with most SMTP servers. Google, however, isn’t one of them.
Not saying someone couldn’t write something that works, but tweaking the existing one won’t. Sorry.
-
Fabrizio Lazzeretti
January 23, 2009 at 5:41 pmSorry for the delay but i was so busy… i thought about your issue what about using your ISP SMTP instead of gmail or yahoo as you last wrote?
Every ISP gives ability to use POP and SMTP… you should give this a try.Cheers.
-
Forrest Maready
March 19, 2010 at 9:37 pmNot sure if anyone is still following this issue, or has solved it, but I’d love to figure out the email script doesn’t work. I’m using with Road Runner, using my authenticated username and password. Seems like they would allow it, if anyone would, but the script still gives me an error:
Unable to send email
500 5.5.2 unrecognized commandAnyone still here and figured out how to get a javascript email to work?
Thanks!!!
-
Chris Orcfilm
October 8, 2018 at 1:24 amThank you for posting this! I’ve been beating my head against the wall.
For me, I was getting the dreaded “Unable to send email” error until I realized the script was hard coding port 25 in email_methods.jsx so the suggestion of using mail.domain.com:587 will not work.
When I hardcoded the email_methods.jsx file to read port 587 I started getting the dreaded: “Unable to send email. Error: Object of type function found where a Number … is needed”
until I realized that it was also occurring on email_methods.jsx at:for (key in this.headers) {
this.writecrlfln(key + “: ” + this.headers[key]);
}The header array had been created but was empty and didn’t seem to be being used anywhere else so I commented it out:
//for (key in this.headers) {
// this.writecrlfln(key + “: ” + this.headers[key]);
//}And Voila! Emails started working with AE’s Render and Email.jsx on my mail server
Not sure if it will help with gmail as the note above about TLS is probably quite valid.
My only problem now is it is sending out emails with a timestamp of Coordinated Universal Time UTC so 7 hrs earlier than Pacific Time. Emails get lost in my inbox.
Any idea how to compensate the server time using the JavaScript Email Socket? I’m assuming there is a header Key I should be able to manually add but not sure of the timezone syntax.
Thanks in Advance!
BC Canada
Reply to this Discussion! Login or Sign Up