Can I just pay the ticket by mail and not appear in court?

Yes.
If your case does not require a mandatory court appearance, you may send the payment indicated on your courtesy notice in full by personal check, cashier's check or money order.
Credit cards are not accepted at this time.