Dmail
ScrollSend Mail
(send_mail)
nonpayable
Use this function in your app
import { prepareContractCall, sendTransaction } from "thirdweb";
const transaction = await prepareContractCall({ contract, method: "function send_mail(string to, string path)", params: [to, path]});const { transactionHash } = await sendTransaction({ transaction, account});