This paper presents a highly efficient porous adsorbent PGMA-N prepared through a series of amination reactions between polyglycidyl methacrylate (PGMA) and different polyamines. The obtained polymeric porous materials were characterized using Fourier transform infrared spectroscopy (FT-IR), scanning electron microscopy (SEM), specific surface area test (BET), and elemental analysis (EA). Thereinto, the PGMA-EDA porous adsorbent exhibited excellent ability to synergistically remove Cu(II) ions and sulfamethoxazole from aqueous solutions. Moreover, we studied the effects of pH, contact time, temperature, and initial concentration of pollutants on the adsorption performance of the adsorbent. The experimental results showed that the adsorption process of Cu(II) followed the pseudo-second-order kinetic model and Langmuir isotherm. The maximum adsorption capacity of PGMA-EDA for Cu(II) ions was 0.794 mmol/g. These results indicate that PGMA-EDA porous adsorbent has great potential for application in treating wastewater coexisting with heavy metals and antibiotics.