Electronic Payment

I filed my taxes with turbotax last year and when finishing I was not able to pay my tax liability electronically and was required to mail the payment. I was out of the country when filing and the mail system was not reliable. How can I make sure I don't have the same problem this year? Thanks