domser2002 / dotnet-webapp

0 stars 0 forks source link

Create mailer model #34

Open zuzwoj opened 9 months ago

zuzwoj commented 9 months ago

Wait for agreement on what emails types we should send.

zuzwoj commented 9 months ago

Are function arguments ok or should they be more specific? (for example, we don't need to pass an entire User class instances but perhaps later on we decide to include extra information in our mails and then it might come in handy)

I assumed that the agreement and the receipt are passed as arguments in the form of file paths, is that ok?

domser2002 commented 9 months ago

Passing an entire class is fine, it is done by reference in C#. I am not sure about file paths, if I will have time I will check how it should be done (files are uploaded by user in frontend so it would be a path to a file in user machine?)

zuzwoj commented 9 months ago

I suppose we might discuss the attachments in an hour during the meeting.