If the landlord still owns your rental, but the the property is in foreclosure resulting in a notice of assignment of rents mailed or served upon you by the trustee under the recorded trust deed upon the property, you are in a somewhat difficult situation as to whom you pay future rent to.You need to write the landlord and the trustee a letter advising that you will pay rent timely but you need an agreement between them as to whom the rent is to be paid or if one cannot be made, a court order directing you to whom monthly payments are to be made. You do not want to make payments to the wrong person.Some trust deeds recorded on properties allow the trustee to have the tenant pay the trustee when the property is in foreclosure. This seems to be so in your case.Your best option is to consult with an attorney about the situation and have him or her write a letter to the trustee and landlord stating that your monthly payments will be made to his or her client trust account pending agreement between the parties or court order.