From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "numbchild@gmail.com" Newsgroups: gmane.emacs.help Subject: How to set proxy for smtpmail.el ? Date: Mon, 20 Jul 2020 10:50:39 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7224"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-help Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 20 04:51:28 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jxLto-0001li-3y for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 20 Jul 2020 04:51:28 +0200 Original-Received: from localhost ([::1]:46766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jxLtn-0006WK-6E for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 19 Jul 2020 22:51:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jxLtU-0006WB-6U for help-gnu-emacs@gnu.org; Sun, 19 Jul 2020 22:51:08 -0400 Original-Received: from mail-vk1-xa2e.google.com ([2607:f8b0:4864:20::a2e]:44096) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jxLtS-0002dp-HE for help-gnu-emacs@gnu.org; Sun, 19 Jul 2020 22:51:07 -0400 Original-Received: by mail-vk1-xa2e.google.com with SMTP id c11so3357490vkn.11 for ; Sun, 19 Jul 2020 19:51:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Gyg0bFcnF97OWXtxQnsoM9YV/DeUqgHiHjjWeT4qJMw=; b=TimyJArndZ5sqBv2vX1jS48xdLAHEvY13uT+Wh98iup8NW7pzJOYCCCECNMUBCI4xA YnkReiHFsskzYESIlOKTCdvjSqJDdC3mIdcPp6HzfmZ3G4l4q7NQ45kKG0azb4UnfQ1F pXZ6sqmw04w6YfSD2wRL6w1aEC1NymzIxbxCzy8lnN7tdGvqcrzoPYiZRnXaNZ6Wkb23 ICDEnc/dm7fZBV5l0eUBMz9U7jWffOAI78uzqRqUqUUFO6AXZduyl9LOTMl17wrR2t+c mKhjEDdR8MhqDeqEsqhDaXZlh2mlrxz2i9tgQD7ljSI1A6ag8dUCzYrCiBpzH2da7ruh iWiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Gyg0bFcnF97OWXtxQnsoM9YV/DeUqgHiHjjWeT4qJMw=; b=Oq+e3NZQDKVz+BEgesFRdVldLPjWggWX1avA3O3NNt4log91EIHTL95MYB5HyRoEag x4EgFdAGhm+k0zd7L4f3Vd8Xntk3RPfcJhmqRM7Uc8PmFVmqsf1/5Mx6hPWD/P70MUD/ yV7VIqWig6fCYOJ8EjAd+csw0x7dfNRuAbTiv36kKp90yH/710+XwVwbrmjCcy8t4Jhu vXXq/Dw9UBPxOQHixNQxjXwXPvl7qc3Td/BXFFArMOcMHuldp14AMHmDVQBmqtpXSROk w6+npIMU79fVMo57hmZyLMaTpKWCmj6YIrq45miHNQ8jknjfehgQU08SDQ48nN+oImc9 Nz5A== X-Gm-Message-State: AOAM530GUrha3V5d50EqNu6x5CIFwBToQwWDp0R3NuMTSEsHbqXK+IaN WlVO+8a/8v+sT6haC6NhzdlqBtr8RTZw+ul8NtI7deeyNw== X-Google-Smtp-Source: ABdhPJz4A9/p0WWQXmogudStzey7567i3RqNWYuHNVRZaI6dKs3iQZZIAUdtYA6kROtNgCxLUmgg80bo3Qgm2WG9Ml4= X-Received: by 2002:ac5:cbee:: with SMTP id i14mr14688704vkn.6.1595213465224; Sun, 19 Jul 2020 19:51:05 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::a2e; envelope-from=numbchild@gmail.com; helo=mail-vk1-xa2e.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123565 Archived-At: I'm unable to send email with smtpmail.el I think it might be because of the internet censorship firewall in China. So I decided to use a proxy for smtpmail. I have not found the smtpmail options for setting proxy. Then I dive into `smtpmail-send-it` function source code. Found it uses `open-network-stream` to send email. Then the question is then how to set a proxy for `open-network-stream`? I checked this function's arguments. No result. Thank you in advance here. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/