Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

ive been trying to get this to work all night. mutt doesnt seem to work and I cant install mail or mailx packages because apt-get gives me errors about them not having installation candidate.

What I want to do is email a textfile.txt to a few gmail accounts... preferably I would like to have a command in a bash script doing this, then I can set the script on a cron job to do it daily.

Also preferably it will require minimal configuration... i dont need to worry about receiving emails, I just need to send out.

Whats the best way to do this?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.