You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
my truly compliments for this code. I try to implement in my organization but I find a problem. My organization use a lot of domain for different company and each user has only 1 GSuite account. With the alias they choose from which company send email. So:
User1 [email protected] (primary email) [email protected] (alias1) [email protected] (alias2)
Is it possible to update with different template the single alias of a specified user? If so how?
Thanks
The text was updated successfully, but these errors were encountered:
Great question - It has been a while since I have modified the code for this repo, but I don't believe there was ever functionality added to do different email templates per alias. It was strictly to "standardize" all email sigs within a domain or group of domains.
This might be an option, but requires a bit more work. You would need to code the array to only update emails from a certain domain $mooSig->addSettingSetTemplate("defaultSig_domain1.html"); $mooSig->addSettingUserArray([ [ "primaryEmail" => "[email protected]", "alias" => "[email protected]", "fullName" => "MooMaster", ], [ "primaryEmail" => "[email protected]", "alias" => "[email protected]", "fullName" => "MooMinor", ] ]); $mooSig->updateSignatures();
In the above example, the primary domain will always be the same, but you would only include the alias for domain2.com.
Hello,
my truly compliments for this code. I try to implement in my organization but I find a problem. My organization use a lot of domain for different company and each user has only 1 GSuite account. With the alias they choose from which company send email. So:
User1
[email protected] (primary email)
[email protected] (alias1)
[email protected] (alias2)
Is it possible to update with different template the single alias of a specified user? If so how?
Thanks
The text was updated successfully, but these errors were encountered: