[subject] + 受到 + ([doer] + 的) + [verbal noun]
[subject] + 遭到 + ([doer] + 的) + [verbal noun]
受到 and 遭到 work like a passive: the subject is on the receiving end, and the action follows as a noun – 欢迎, 批评, 影响, 反对. Whoever did it can go in front with 的: 受到老师的表扬. Both are neutral to written. 受到 is "receive" and takes things pleasant or not. 遭到 is "suffer, meet with" and only takes the unwelcome.
欢迎, 表扬, 重视, 关注, 尊重 go with 受到.
批评 and 影响 sit comfortably with 受到. Damage, refusal and opposition – 破坏, 拒绝, 反对, 打击 – lean toward 遭到, which makes the blow sound heavier.
Neither verb means getting something you wanted – a chance, a prize, a result. That is 得到.