diff --git a/newm-server/src/main/kotlin/io/newm/server/features/song/repo/SongRepositoryImpl.kt b/newm-server/src/main/kotlin/io/newm/server/features/song/repo/SongRepositoryImpl.kt index 6a3ad5ab..6cddc5d5 100644 --- a/newm-server/src/main/kotlin/io/newm/server/features/song/repo/SongRepositoryImpl.kt +++ b/newm-server/src/main/kotlin/io/newm/server/features/song/repo/SongRepositoryImpl.kt @@ -776,8 +776,7 @@ internal class SongRepositoryImpl( MintingStatus.Released -> { logger.info { "Released song $songId SUCCESS!" } - // TODO: Maybe send an email once the song is live on spotify. - // sendMintingNotification("released", songId) + sendMintingNotification("released", songId) } else -> Unit diff --git a/newm-server/src/main/mjml/email/mint-released.mjml b/newm-server/src/main/mjml/email/mint-released.mjml new file mode 100644 index 00000000..4671ac05 --- /dev/null +++ b/newm-server/src/main/mjml/email/mint-released.mjml @@ -0,0 +1,70 @@ + + + Now available on all major streaming platforms + + + + + + + + + + + + + + + + + + + + + + Congrats {owner}! Your track has been officially released and can now be found on all major streaming platforms.

+ "{song}"
+
    {collabs}
+
+ + Now that your song has been minted, distributed and released, it will begin accruing royalties for every stream. Please note that NEWM has no control over royalty distribution and timelines from third-party music streaming platforms. We recommend consulting each platform’s terms and conditions for more information on their royalty distribution policies.

+ All earnings, including streaming royalties, can be viewed in the wallet tab on your NEWM Studio account. Once your royalties are available, simply select "Claim now" to transfer your earnings to your designated external wallet.

+ Please note that release times vary across different streaming platforms. However, if your song is still not listed on a particular streaming platform more than two days past your set release date, + or if you have any questions about the release process, please email support@newm.io for assistance.

+ Cheers, The NEWM Team

+
+ + PLEASE DO NOT REPLY TO THIS MESSAGE + + +
+
+ + + + + + + + + + + + + + + + Join our community on Discord! + + + + + + + + Copyright © 2023 NEWM, All rights reserved + + + +
+
\ No newline at end of file diff --git a/newm-server/src/main/resources/application.conf b/newm-server/src/main/resources/application.conf index 166c37ef..2ff23c06 100644 --- a/newm-server/src/main/resources/application.conf +++ b/newm-server/src/main/resources/application.conf @@ -265,6 +265,11 @@ mintingNotifications { messageUrl = "/email/mint-declined.html" messageUrl = ${?EMAIL_MINT_DECLINED_MESSAGE_URL} } + released { + subject = "[IMPORTANT] Your song has been released!" + messageUrl = "/email/mint-released.html" + messageUrl = ${?EMAIL_MINT_RELEASED_MESSAGE_URL} + } } nftCdn { diff --git a/newm-server/src/main/resources/email/mint-released.html b/newm-server/src/main/resources/email/mint-released.html new file mode 100644 index 00000000..709fe0eb --- /dev/null +++ b/newm-server/src/main/resources/email/mint-released.html @@ -0,0 +1,23 @@ +
Now available on all major streaming platforms
Congrats {owner}! Your track has been officially released and can now be found on all major streaming platforms.

"{song}"
    {collabs}
Now that your song has been minted, distributed and released, it will begin accruing royalties for every stream. Please note that NEWM has no control over royalty distribution and timelines from third-party music streaming platforms. We recommend consulting each platform’s terms and conditions for more information on their royalty distribution policies.

All earnings, including streaming royalties, can be viewed in the wallet tab on your NEWM Studio account. Once your royalties are available, simply select "Claim now" to transfer your earnings to your designated external wallet.

Please note that release times vary across different streaming platforms. However, if your song is still not listed on a particular streaming platform more than two days past your set release date, or if you have any questions about the release process, please email support@newm.io for assistance.

Cheers, The NEWM Team

PLEASE DO NOT REPLY TO THIS MESSAGE
Join our community on Discord!
Copyright © 2023 NEWM, All rights reserved
\ No newline at end of file