No.
What you can do here depends on where you are sending e-mails. If you are sending to just one e-mail address, you can use ini_set to specify SMTP and smtp_port, changing the mail server PHP will use. If its your ISP's, you are set.
If you need to send to different addresses, you will need to look up the MX record and change the SMTP server settings on the fly before calling mail().