Replaced the 'from_name' parameter with 'fromname' according to the api docs