Send mail from Sketchup
-
Hello everyone
In time being I am doing some processing in batch in SU, what I want to know is if you can send an email from SU when the process is complete, you can do this? Thanks in advance for your comments
-
See, for example,
Sending Email using Ruby - SMTP
Sending Email using Ruby - SMTP - Simple Mail Transfer Protocol (SMTP) is a protocol, which handles sending e-mail and routing e-mail between mail servers.
(www.tutorialspoint.com)
-
And to have an email form filled out, but not automatically sent:
UI;;WebDialog;;new( "Email...",true,nil,200,100,300,200,false ).instance_eval { email = "mailto;//someone@example.com"<< "?subject=This%20is%20the%20subject"<< "&cc=someone_else@example.com"<< "&body=This%20is%20the%20body" set_html( "<!DOCTYPE html>\n<html>\n <head>\n </head>\n"<< " <body>\n <br/>"<< " <a id='elink' href='#{email}'>Firing an email!</a>\n"<< " </body>\n"<< "</html>" ) show() { execute_script("elink.click();") } }
But there must be a registered email client for the system.
Ie, it does not work on my machine because I use browser based gmail, and never registered any email client application on this machine. (So for me two error messages popup stating there is no registered email client.)
Advertisement