change sender on mail command

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have the following .mailrc file:

account gmail {
set smtp-use-starttls
set smtp=smtp://smtp.gmail.com:587
set smtp-auth=login
set smtp-auth-user=my_user@gmail.com
set smtp-auth-password=my_passwd
set from=user@PCname.com
}

but all the mail send with the command:
mail -A fmail -s “test 1” xxxx@gmail.com < file_text

are with the from field as my_user@gmail.com
how can I set it to change the from field to user@PCname.com


VampirD

Microsoft Windows is like air conditioning
Stops working when you open a window.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkv1cdwACgkQJQ+0ABWtaVmbUwCg68eVtcdWGmbfooRgDiqatIDi
HdoAn3QWsGEdMwYFmgvRHXNa4KznUPpo
=zZZu
-----END PGP SIGNATURE-----