Single Camera Servo Server icon Single Camera Servo Server — TCP video server for Unity clients to stream camera video and send servo positions to ARC for remote robot control Try it →
Asked — Edited

Smtp Client Question

Question:

I have searched the EZ-Script manual for SMTP Client, No success. I have searched the page from which the client is download from: No success. If there is help about this I do apologize in advance.

The code works. I can email myself, what I would like to do is email other people. What is the syntax?

Thanks WayneA.


ARC Pro

Upgrade to ARC Pro

Stay on the cutting edge of robotics with ARC Pro, guaranteeing that your robot is always ahead of the game.

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#9  

I'll modify the plugin for the new line. My bad

#11  

@ptp Yes sir, I tried to use but it seemed way over my head.

Never fear I will keep trying to use.

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#12  

Upgrade to the latest plugin and use this:


ControlCommand("SMTP Client", Send, "JohnDoe AT somewhere.com", "John Doe", "mail subject", "This is a line\r\nThis is a new line")
#13  

@DJ Thank You very much. Hope I did not cause to much trouble.

#14  

Another question regarding format.

Is the new code added to the plugin able to handle string formatting. For example:


ControlCommand("SMTP Client", Send, "JohnDoe AT somewhere.com", "John Doe", "mail subject", "$sting1\r\n$string2")

With quotation marks, the email body simply displays the $string1\r\n$string2

If I do not use the quotation marks, nothing happens.

Is the plug in not supposed to handle string variables.

Thanks! WayneA

Author Avatar
PRO
USA
#15  

@WayneA:

string concatenation operation is not the same as handling special chars inside a string.

Try this:


ControlCommand("SMTP Client", Send, "JohnDoe AT somewhere.com", "John Doe", "mail subject", $string1 + "\r\n" + $string2)
#16  

@ptp

That did not work. Thanks for you help.