0 votes

Is this possible?

Example:
User A executes a task in Adaxes. That task triggers a mail to another user. That mail needs to have User A as a reply adress.

by (960 points)
0

To clearify, i've done this through a PS script, but i wanted to know if there was a way through the"Send email notification" action.

1 Answer

0 votes
by (289k points)
selected by
Best answer

Hello,

Unfortunately, there is no possibility to specify the From address in the Send email notification action. However, we have the feature in our roadmap: https://www.adaxes.com/info_roadmap.htm.

As a workaround, you can use the below PowerShell script to send the notification and specify %adm-InitiatorEmail% in the From field. In the script:

  • $to - Specifies the recipient's e-mail address.
  • $subject - Specifies the subject of the email.
  • $textBody - Specifies the body of the email.
  • $from - Specifies the address from which the email will be sent.
# Bind to the 'ServiceSettings' container
$wellknownContainerPath = $Context.GetWellKnownContainerPath("ServiceSettings")
$serviceSettings = $Context.BindToObject($wellknownContainerPath)

# Email settings
$to = "%mail%" # TODO: modify me
$subject = "My Subject" # TODO: modify me
$textBody = "My Message" # TODO: modify me
$from = "%adm-InitiatorEmail%" # TODO: modify me

# Send mail
$serviceSettings.MailSettings.SendMail($to, $subject, $textBody, $Null, $from, $Null, $Null)

Related questions

0 votes
1 answer

Hi! Is it possible to set the initiator &/ the created user (when doing a user creation) as the sending email adress for a outgoing email from Adaxess? The use ... Currently its sent from the fixed from address thats setup in settings for the server. /Kaj

asked Feb 26, 2019 by KajLehtinen (650 points)
0 votes
1 answer

The use case we are looking for is providing a list of titles for users to choose from when initiating a re-hire. We already have a title property pattern established and would ... that we can manage the list in one place. Let me know and as always, thanks.

asked 3 days ago by msheppard (470 points)
0 votes
1 answer

I need to know how to Create a new Custom Attribute which I wants save some informations of Users

asked Jun 12, 2023 by kanishka.silva (40 points)
0 votes
1 answer

We have created a workflow for creating user accounts and would like the manager of the new user to be the approver for the account but the account is not created until it is ... to use a parameter as an approver. Is there a powershell way to do this maybe?

asked Jan 24, 2020 by mark.it.admin (2.3k points)
0 votes
1 answer

Within Property Patterns, I need a way to fill in 'User Logon Name' with the contents of the mail field only up until the @ sign. The requirement is due to the need ... , have it populate the User Logon Name field with 'accountsreceivable'. How can I do this?

asked Sep 16, 2016 by ajrechk (480 points)
3,552 questions
3,242 answers
8,243 comments
547,828 users