Yes, you are right @markdamen. I was not there. Apologies if any thing is missing. I am discussing about UD screen customization. I am using below mention code
Thanks for your reply. I know we can send asynchronously email using SMTP and Epicor BPM. But, I want to send email from customization screen using Epicor email functionality.
Is it possible. if possible then please share the code?
The best way to do that is to make a UD field in your customization, and set a BPM to watch for when that field changes to trigger the BPM. I think that’s how most people do it.
This will require that the email settings are correct in your sysconfig file
EmailArgs args = new EmailArgs();
args.ToAddress = "Hari_Dutt@epiusers.help";
args.Subject = "Please format your code for the love of God!";
args.MessageBody = "Simply put ``` before and after your code it will make EVERYONE happier";
args.FromAddress = "EVERYONE@epiusers.help";
EmailHandler.SendMail(args);
Do you have a specific use case for needing to use the screen vs bpm? The reason we are asking is to save you time in the future when Kinetic is released, if you do it in BPM land you won’t have to re-write it (maybe minor tweaks) if you do it in customization land you will (write from scratch).
Thanks for helping me. I really appreciate your kindness and support.
I have used the above code provided by you. After that system is throwing below error
Error Detail
Message: Failed to connect to SMTP server; Email attempt aborted. Please confirm the SMTP setting in the user settings element of the xxx.sysconfig AppSettings file.
Inner Exception Message: Failure sending mail.
After that, I opened the sysconfig file and enter the User Name, Password & SMTP server name (refer to attached screen)
This is like wayyyyyyyyyyyyyyyyyyyy beyond the scope friend. I think @EarlGrei has a post about it on here, but if you don’t know what it is or how to set it up it may be time to get someone to help (outside this forum) this is not an Epicor question is general IT and requires quite a bit of experience and know how.
I did a post about setting up a Relay (Office 365 in the example). No warranty or guarantees implied. Mileage may vary. LOL. Its how we do all of our email here. Give it a shot. If you are not sure what some of it is for then I agree that getting an IT Networking Professional involved is highly recommended.
Kinetic will be phased in and available in the .Net Client but I think what Josh is hinting at, someday there will be an all browser UI and those .Net customizations won’t have a place to run. Epicor will replace those “customizations” with the new Kinetic Studio.
One thing we’re going to have to do is get back to just doing UI mods in screen customizations and moving business logic back to the server - which isn’t a bad thing.