Tumira maemail nekoni nekutumira

Iyi kesi yakaedzwa muCanaima neUbuntu

1- Isu tinoisa SendEmail:

apt-get install sendemail

2- Isu tinoisa anotevera mapakeji anodikanwa kune kwayo chaiyo kushanda neGMail:

apt-get install libnet-ssleay-perl

apt-get install libio-socket-ssl-perl

Iye zvino takagadzirira kutumira edu maemail. Kuti tishandise account yedu yeGMAIL, tinonyora mukonioni:

sendemail -f nombrecuenta@gmail.com -t cuentadestino@isp.com -s smtp.gmail.com:587 -u \
"Asunto" -m "Cuerpo del mensaje" -a archivoadjunto -v -xu nombrecuenta -xp clavecuenta -o tls=yes

Donde:

«accountname@gmail.com»Ndiyo account yedu yeGMail

«accountdestino@isp.com»Iyo account iyo yatinoda kutumira tsamba dzedu (kana tichida kutumira kune vanoverengeka vanogamuchira isu tinongofanirwa kusiya isina chinhu nzvimbo pakati pemaimeri kero)

Mu "Nyaya»Inoenda chaizvo nenyaya yeemail (kana ikaenda pakati pequotches mamaki) uye mu«Muviri wemharidzo»Zvatinoda kunyora (zvakare mune makotesheni)

Izvozvo -a inoenda kana tichida kutumira chinongedzo

«accountname»Izita reakaundi yedu yeGMail pasina iyo @

«password account»Iswedu password kune yedu GMail account

Iye zvino izvozvi diki script yakaitwa mu bash kutumira runyorwa rwekutumira mune txt

#!/bin/bash
# -*- ENCODING: UTF-8 -*-
i=0
while read line
do i=$(($i+1));
sendemail -f correo@gmail.com -t $line -s smtp.gmail.com:587 -u "TITULO" -m "CUERPO DEL MENSAJE" -v -xu nombredeusuariosinelaroba -xp contraseña -o tls=yes
done < "/home/direccion/correos"
echo "Final line count is: $i";


Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Makomendi gumi, siya zvako

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa.

*

*

  1. Inotarisira iyo data: Miguel Ángel Gatón
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako

  1.   Fabio.Felio akadaro

    IZVOZVI vazhinji vevechidiki vanongoteerera iyo FACEBOOK account uye ikoko vanosvika kune VAMWE folda. DZIMWE DZOKWEDZIKO zviri pamutemo uye zvakanyanya kumisikidzwa kumusoro. Iyo CELLULAR uye iyo FACEBOOK account ndizvo zvinangwa zveNeo spammers. Yakanaka tuto, chimwe chinhu chakakosha asi chinobatsira vamwe ...

    1.    Fabio.Felio akadaro

      Ini ndinokurudzira kushandisa php + mysql + cron pane imwe yemahara server uchishandisa proxy sevanhu.

      Neiyi 3 dhatabhesi dhatabhesi.
      ID (int, autoincrement, primarykey) | email (tinytext) | kutumirwa (boolean)

      Iwe unongofanirwa kuwana email kubva kudhatabhesi yatisina kutumira kusvika izvozvi.

      Isu tinokutumira iwe iyo email, tinogona kushandisa inoenderana WP chinhu kutumira email kana isu tiri mune wordpress mune plugin kana iyo tsamba basa re php.

      Isu tinonyora pasi kutumira kune iyo email mune dhatabhesi uye isu tinosiya

      Kumhanya nayo yega maminetsi matatu nebasa rakarongwa uchishandisa cron. Kuti urege kuwandisa maseva, kana kuzivisa gmail kana hotmail. Ichi ndicho chakanyanya kukosha…

      Kana, JavaScript script yebrowser inoshandisa greasemonkey / tampermonkey inomhanya mubrowser yako pane iyo gmail peji ine yako email yakavhurwa. Ivo vanogona zvakare kushandisa mysql dhatabhesi, kana vane http server ine mysql uye php vachimhanya vanogona kuita chikumbiro ne "ajax" mukati meiyo script uye vagamuchire iyo email. Zvino kana zvese zvave chokwadi tumira chikumbiro kusevha yemuno uchimuzivisa nezve izvo zvakatumirwa kuti agone kunyora pasi.

      Muchidimbu, mikana yacho haina muganho. Chinhu chega chisingaite kubva pane zvandakajekesa mumessage yangu yekutanga, uye hazvisi pamutemo.

      1.    Fabio.Felio akadaro

        Pamwe mutemo unobva pane izvi:

        http: / / en. wikipedia. org / wiki / UNOGONA-SPAM_Act_of_2003

  2.   eliotime3000 akadaro

    Zvakanaka, asi izvo zvinonyanya kubatsira kana iwe uchida kukochekera hunyengeri uye nekudaro kugutsa mweya wakaremara watinawo mukati.

    Zvisinei, ndatenda nezano.

  3.   arioere akadaro

    Mhoro, inonakidza nyaya. Ndiri kugadzira chirongwa chinotumira mamwe matanda kuacomputer account asi kune zviuru zvemaemail izvo zvinofanirwa kutumirwa, nekuti iro danda rakati rekare uye rakakura. Sezvo ini ndichibatanidza zvishoma kune internet, zvinotora nguva yakareba. Saka ndine kusahadzika kunotevera:

    1- Is Sendmail inokurumidza kupfuura python's smtp module?
    2- Mashandisiro ekushandisa chikamu chimwe chete (ini handizive kana chikamu chiri iro rakakodzera izwi) kutumira maemail akati wandei?
    3- Pane here nzira yekutumira mail kuzivisa kufambira mberi?
    4- Ini handina zano rekuti smtp inoshandisa imwe mhando yekumanikidza kwedata, kuitira kuti vhoriyamu yedata itumirwe inoderedzwa zvakanyanya sezvo matanda ari mavara akajeka.

    Reply with quote
    Arian fornaris

  4.   orelvis akadaro

    Zvese zvinonakidza asi ndinga dzivirira sei yangu mail server kuitira kuti isabvume kutumira maemail kana iwe usina mushandisi pane server kana kana isina kutumirwa kubva kukero yemuno.

    thanks.

  5.   Pablo akadaro

    Mhoroi, chinyorwa chakanyanya kunaka, asi pandinochimhanyisa, ndinowana iko kukanganisa, unogona kundibatsira kuchigadzirisa

  6.   Pablo akadaro

    Aug 20 15:27:29 pablo-hp-envy-15-notibhuku-pc sendemail [2841]: DEBUG => Kubatanidza ku smtp@gmail.com: 587
    Aug 20 15:27:32 pablo-hp-envy-15-notibhuku-pc sendemail [2841]: ERROR => Kubatanidza kuyedza ku smtp@gmail.com: 587 yakundikana: IO :: Socket :: INET6: getaddrinfo: System kukanganisa
    Aug 20 15:27:32 pablo-hp-envy-15-notibhuku-pc sendemail [2841]: HINT => Edza kudoma rakasiyana tsamba rinotumirwa ne-- s sarudzo.
    yekupedzisira mutsara kuverenga ndeiyi: 1

  7.   nestor akadaro

    Mazvita ndizvo zvandaitsvaga.

  8.   verlaine akadaro

    ichashanda neimwe pop3 tsamba

  9.   Maka Alexis akadaro

    Ndinoigadzirisa sei kuti ishandiswe nehotmail?

bool (chokwadi)