0 votes

Is this possible?

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)

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 (227k points)
selected by
Best answer


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

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.1k 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)
0 votes
1 answer

Hi, we want to send email notification to managers of empty distribution groups. So I created scheduled task targeted to group and in send action TO, I used '%adm-ManagerEmail% ... . My AD account has E-mail attribute filled. What could be the problem? Thanks

asked Nov 21, 2019 by KIT (520 points)
0 votes
1 answer

Hello I am trying to set up a report User with Email Proxy Address I can not display a list of all the aliases of a user Thank you for your help

asked Jul 22, 2018 by cfillon (120 points)
2,803 questions
2,535 answers
62,563 users