Forum Post: How to take sender from config file

  • Thread starter Thread starter daniel.baciu
  • Start date Start date
Status
Not open for further replies.
D

daniel.baciu

Guest
Hi, I want to configure the emailAdaptor to take all email server setting from configuration file. I manage to set it to take the settings for parameters available in Config tab (Host, user, password and few others) from config file. Here are the settings, maybe someone can use them: ${oebpsemail.properties:oebps.email.outgoing.server} ${oebpsemail.properties:oebps.email.outgoing.server.user} ${oebpsemail.properties:oebps.email.outgoing.server.password} The probelm i'm having now is to set it to take the sender recipient, the From field, from config file. I wan to set it to be taken from the same config file as User, from ${oebpsemail.properties:oebps.email.outgoing.server.user} parameter. But it accepts only either an valid email address or a dataslot. The idea is that the server settings as well the email account BPM will use are different between development and production environments, therefore I need a way to set them easily preferably in a single config file. Currently i use a dataslot and send it at runtime. For this reason I have to store it in the application config file and i would like to use the value already set in server's config, as mentioned above. Thank you, Daniel

Continue reading...
 
Status
Not open for further replies.
Back
Top