Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Notification of solution
Posted 10 janv. 2016, 14:31 UTC−5 Version 5.2 8 Replies
Please login with a confirmed email address before reporting spam
As we all know, the time consumed by solving complex models is very lengthy. I cant just wait during computation. I have to go places else. Is there a way I can enable a notification feature to notify me if a solution or error was obtained?
This would be very helpful for me.
Regards
--
Abdulrahman Al Rumaidh
Mechanical Engineering Student | University of Bahrain
Please login with a confirmed email address before reporting spam
Yes, COMSOL can send you an email when a simulation is completed. This is done with an app using a method that calls one of the available email commands. See the "Introduction to Application Builder" manual, version 5.2, page 287. You can access all manuals through File > Help > Documentation.
Email server settings are controlled by the File > Preferences > Email menu.
You will find a tutorial that illustrates this in the Application Libraries for COMSOL Multiphysics: look for the Tubular Reactor app under File > Application Libraries > COMSOL Multiphysics > Applications.
Note that this is a fairly new feature. I think it was introduced at 5.2. Make sure you are using the latest version.
Best,
Jeff
Please login with a confirmed email address before reporting spam
--
Abdulrahman Al Rumaidh
Mechanical Engineering Student | University of Bahrain
Please login with a confirmed email address before reporting spam
It seems to be a common misconception.
Jeff
Please login with a confirmed email address before reporting spam
--
Abdulrahman Al Rumaidh
Mechanical Engineering Student | University of Bahrain
Please login with a confirmed email address before reporting spam
Jeff
Please login with a confirmed email address before reporting spam
Best Regards,
--
Abdulrahman Al Rumaidh
Mechanical Engineering Student | University of Bahrain
Please login with a confirmed email address before reporting spam
Host: smtp.gmail.com
Port: 587
Security connection: TLS/SS
User: example@gmail.com
Password: ******
From: example@gmail.com
Default to: example@gmail.com
I wrote the following code (I attached a screenshot for my simple application) :
EmailMessage mail = new EmailMessage();
mail.setFrom(emailFromAddress());
mail.setTo(userEmailAddress());
mail.setSubject("COMSOL notification");
mail.setBodyText("Done");
mail.send();
When I run the application builder and run it, it gives me the following error:
Failed to send email.
failed to connect, no password specified?
Why does this error show up although I set the password in the preferences?
--
Abdulrahman Al Rumaidh
Mechanical Engineering Student | University of Bahrain
Attachments:
Please login with a confirmed email address before reporting spam
Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.