Add feedback email
This commit is contained in:
parent
cf078cbf09
commit
6532ee8123
1 changed files with 8 additions and 0 deletions
|
@ -106,6 +106,14 @@ func setupEmails(ctx *pulumi.Context, ocicfg *config.Config, compartment *identi
|
||||||
return nil, nil, err
|
return nil, nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_, err = email.NewSender(ctx, "happyDomain-sender-fider", &email.SenderArgs{
|
||||||
|
CompartmentId: compartment.ID(),
|
||||||
|
EmailAddress: pulumi.String("feedback@happydomain.org"),
|
||||||
|
})
|
||||||
|
if err != nil {
|
||||||
|
return nil, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
// Identity for mail sender
|
// Identity for mail sender
|
||||||
user, err := identity.NewUser(ctx, "happyDomain-smtp-user", &identity.UserArgs{
|
user, err := identity.NewUser(ctx, "happyDomain-smtp-user", &identity.UserArgs{
|
||||||
CompartmentId: ocicfg.RequireSecret("tenancyOcid"),
|
CompartmentId: ocicfg.RequireSecret("tenancyOcid"),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue