Sending mailers vs volunteers delivering flyers

Curious if anyone has noticed a difference in price and/or effectiveness of having volunteers go door-to-door just handing out flyers vs having a mailer designed and paying for postage to deliver them.

My gut says the former is more cost-effective and obviously the second more time-effective, but I don’t see how one would be more effective at reaching and persuading voters than the other.

Any thoughts appreciated!