You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

18 lines
604 B

  1. # The stuff for manually putting in server settings.
  2. # Will be added to main script as option eventually.
  3. remotehost=$(\
  4. dialog --inputbox "Insert the IMAP server for your email provider (excluding the port number)" 10 60 \
  5. 3>&1 1>&2 2>&3 3>&- \
  6. )
  7. dialog --inputbox "What is your server's IMAP port number? (Usually 993)" 10 60
  8. smtpserver=$(\
  9. dialog --inputbox "Insert the SMTP server for your email provider (excluding the port number)" 10 60 \
  10. 3>&1 1>&2 2>&3 3>&- \
  11. )
  12. smtpport=$(\
  13. dialog --inputbox "What is your server's SMTP port number? (Usually 587 or 465)" 10 60
  14. 3>&1 1>&2 2>&3 3>&- \
  15. )