The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
SENT MAIL OPERATOR
Learner II
in Help
Let's say i have a dataset that contains temperatures, pressures, etc and I want to use the operator "Sent Mail" so that below a minimum value and above a maximum value of temperature it would send me a message to alert me. Could anyone tell me how exactly I should use this particular operator in this example (parameters, other operators etc)?
0
Best Answers
-
Edin_Klapic
Employee-RapidMiner, RMResearcher, Member Posts: 299
RM Data Scientist
Hi @Alexandros_Tzekas51,
you need to set the SMTP email settings for the account you want to send from in RapidMiner.
In Studio this is done in your preferences/Tools/SMTP. In Server this is done in the standalone.xml.
(see https://docs.rapidminer.com/latest/server/administration/server-settings.html#change-outmail).
However, gmail is restrictive when it comes to security - you probably need to change some settings in your gmail account.
More info can be found here: https://community.rapidminer.com/discussion/53861/re-smtp-server-problem-and-security-issue
Happy Mining,
Edin5 -
sgenzer
Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959
Community Manager
hi @Alexandros_Tzekas51 I'm sorry but I'm out of ideas. Setting up email can be tricky.
Happy holidays.
Scott
5
Answers
<?xml version="1.0" encoding="UTF-8"?><process version="9.1.000"> <context> <input/> <output/> <macros/> </context> <operator activated="true" class="process" compatibility="9.1.000" expanded="true" name="Process"> <parameter key="logverbosity" value="init"/> <parameter key="random_seed" value="2001"/> <parameter key="send_mail" value="never"/> <parameter key="notification_email" value=""/> <parameter key="process_duration_for_mail" value="30"/> <parameter key="encoding" value="SYSTEM"/> <process expanded="true"> <operator activated="true" class="generate_data" compatibility="9.1.000" expanded="true" height="68" name="Generate Data" width="90" x="45" y="85"> <parameter key="target_function" value="random"/> <parameter key="number_examples" value="100"/> <parameter key="number_of_attributes" value="5"/> <parameter key="attributes_lower_bound" value="-10.0"/> <parameter key="attributes_upper_bound" value="10.0"/> <parameter key="gaussian_standard_deviation" value="10.0"/> <parameter key="largest_radius" value="10.0"/> <parameter key="use_local_random_seed" value="false"/> <parameter key="local_random_seed" value="1992"/> <parameter key="datamanagement" value="double_array"/> <parameter key="data_management" value="auto"/> </operator> <operator activated="true" class="converters:example_set_2_html" compatibility="0.4.001" expanded="true" height="82" name="ExampleSet to HTML" width="90" x="179" y="85"> <parameter key="macro" value="htmlMacro"/> <parameter key="Use a limit on Digits" value="false"/> <parameter key="Number of Digits" value="3"/> <parameter key="HTML class name for the table" value="rapidminer-table"/> </operator> <operator activated="true" class="send_mail" compatibility="9.1.000" expanded="true" height="68" name="Send Mail" width="90" x="313" y="85"> <parameter key="to" value="foo@bar.com"/> <parameter key="subject" value="My ExampleSet"/> <parameter key="use_html" value="true"/> <parameter key="body_html" value="<html> 	<head> 		<title>RapidMiner Mail Message</title> 	</head> 	<body> 		<p>%{htmlMacro} 		</p> 	</body> </html> "/> <list key="headers"/> <parameter key="ignore_errors" value="false"/> </operator> <connect from_op="Generate Data" from_port="output" to_op="ExampleSet to HTML" to_port="example set input"/> <portSpacing port="source_input 1" spacing="0"/> <portSpacing port="sink_result 1" spacing="0"/> </process> </operator> </process>Scott
"Cannot send mail to 'alexandrostzekas@gmail.com'. Couldn't connect to host, port: localhost, 25;"
Scott