I figured it out. Had to add code to php.ini file as well as change it for me to php5.ini
In addition to what was already php5.ini, I added:
post_max_size = 25M
default_mimetype = "text/html"
default_charset = "UTF-8"
file_uploads = On
upload_max_filesize = 25M
allow_url_fopen = On
user_agent="PHP"
default_socket_timeout = 60
Not sure if it was all needed, but it was in the example I found, which I don’t have the link to for some reason. Sorry about that.
Files uploaded and I received in my Gmail right away! Success!