Well, I suspect you found sending an email notification to the property owner relatively straightforward,
and you can see that it's basically a copy and paste exercise.
First thing to notice, I did make a change up here.
I removed the extraneous comma after the guests first name in the notification to the guest.
And then I just did exactly the same thing.
I just overwrote the contents of HTML message with the message that I wanted, which was nothing more
than reservation notification.
A reservation has been made for placeholder from placeholder to placeholder, and then I substituted
the room name for the first placeholder and then the start date and the end date using the same syntax
I did before then I sent the message to I just overwrote my message variable and sent that set the two
to me at here NORCOM, which would be the address of the property owner from the same thing and change
the subject and sent the mail right here by sending it to our channel.
Now, this is pretty good.
You can send emails, but they're not very attractive.
And what I'm going to do in the next and final lecture on sending email, assuming it takes one lecture,
it might take two, is I'm going to show you how you can use a really good package from the Zerbe Foundation
that allows you to send nicely formatted email message.
And it's not that hard.
So we'll take care of that in the next lecture or two.