mogaal / sendemail

lightweight, command line SMTP email client
http://www.caspian.dotconf.net/menu/Software/SendEmail/
224 stars 75 forks source link

Yahoo or Yandex.... #7

Open karencho777 opened 8 years ago

karencho777 commented 8 years ago

Hello i cant sent email from Yahoo or Yandex.. why can you tell me?

bAndie91 commented 6 years ago

"from Yahoo" you mean

  1. a \@yahoo.com email address in From: header, or
  2. a \@yahoo.com email address on the envelope (aka MAIL FROM), or
  3. actually originating the smtp traffic from a Yahoo-owned server?

ad

  1. you can specify From: address different from MAIL FROM by option: -o message-header="From: John <john@yahoo>"
  2. similar to prev.: -f john@yahoo -o message-header="From: Jack <jack@gmail>"
  3. specify yahoo's SMTP/Submission server address at -s, set -xu and -xp to authenticate to your yahoo mailbox, and then hope it will relay your email to external email domain. Yahoo as an email provider may reject/overwrite forged From/MAIL FROM headers.