Millard Fillmore actually said...
Now, therefore, I have issued this my proclamation, warning all persons who shall connect themselves with any such enterprise in violation of the laws and national obligations of the United States that they will thereby subject themselves to the heavy penalties denounced against such offenses;
Context
Proclamation 58—Warning to United States Citizens Against Participating in an Unlawful Invasion of Mexico
10/21/1851