[Gambas-user] User Digest, Vol 27, Issue 20

Ivan Williams ivanwms64 at yahoo.com
Thu Dec 5 23:34:49 CET 2019


Sorry for the ? in my email messages.  I do not know why they are appearing in my messages to the group.

Ivan    \~/


 

I never saw a wild thing sorry for itself.
A small bird will drop frozen dead from a bough
Without ever having felt sorry for itself.
-- D.H. Lawrence





http://www.usconstitution.net/const.html


Linux - Live Free or Die.

 

    On Thursday, December 5, 2019, 04:55:06 PM EST, <user-request at lists.gambas-basic.org> wrote:  
 
 Send User mailing list submissions to
    user at lists.gambas-basic.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.gambas-basic.org/listinfo/user
or, via email, send a message with subject or body 'help' to
    user-request at lists.gambas-basic.org

You can reach the person managing the list at
    user-owner at lists.gambas-basic.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of User digest..."


Today's Topics:

  1. Re: using smtp to send mail (Ivan Williams)
  2. smtp attachments/body in email (Ivan Williams)
  3. Resolved: how to add attachment and include in file body
      (Ivan Williams)
  4. Re: Test of mail received (Christof Thalhofer)


----------------------------------------------------------------------

Message: 1
Date: Thu, 5 Dec 2019 19:57:59 +0000 (UTC)
From: Ivan Williams <ivanwms64 at yahoo.com>
To: "user at lists.gambas-basic.org" <user at lists.gambas-basic.org>
Subject: Re: [Gambas-user] using smtp to send mail
Message-ID: <990501155.9411987.1575575879292 at mail.yahoo.com>
Content-Type: text/plain; charset="utf-8"

Thanks!!!
This worked - created a new acct for sending email - went to security and checked the allow 3rd party access sign on and I am in like Flynn.
Thank You again


>> Also, I don't see your code setting the port, encryption, or authentication method. The following works for me:
>>? ?Email.Port = 465
>>? ?Email.Authentication = SmtpClient.Plain
>>? ?Email.Encrypt = Net.SSL




?

Ivan ?? \~/


?

I never saw a wild thing sorry for itself.
A small bird will drop frozen dead from a bough
Without ever having felt sorry for itself.
-- D.H. Lawrence





http://www.usconstitution.net/const.html


Linux - Live Free or Die.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20191205/0822347f/attachment-0001.html>

------------------------------

Message: 2
Date: Thu, 5 Dec 2019 20:49:42 +0000 (UTC)
From: Ivan Williams <ivanwms64 at yahoo.com>
To: "user at lists.gambas-basic.org" <user at lists.gambas-basic.org>
Subject: [Gambas-user] smtp attachments/body in email
Message-ID: <213593538.3599079.1575578982403 at mail.yahoo.com>
Content-Type: text/plain; charset="utf-8"

Greetings once more,
I am successfully able to send email but I cannot successfully attach the file to the email.? I would like to put the text of the file within the body of the email but when I do so the filename is the only thing in the body of the email and when I attempt to attach the file I get the name of the file witht he path attached.
?
? Email.Body = "/media/ShortBox/Stats/pmail.txt"
? Email.Add("string", "text/plain", "/media/ShortBox/Stats/pmail.txt")

? I have tried - string, stream, text but I still do not receive the file contents in the email body or as a attachment.? The file does have chr$(10) & chr$(13) to force line breaks and carriage returns in order to format the text.
? Can the file be forced into the email body - maximum 30 lines of text - 2400 chars?


Ivan ?? \~/


?

I never saw a wild thing sorry for itself.
A small bird will drop frozen dead from a bough
Without ever having felt sorry for itself.
-- D.H. Lawrence





http://www.usconstitution.net/const.html


Linux - Live Free or Die.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20191205/98e285ce/attachment-0001.html>

------------------------------

Message: 3
Date: Thu, 5 Dec 2019 21:25:27 +0000 (UTC)
From: Ivan Williams <ivanwms64 at yahoo.com>
To: "user at lists.gambas-basic.org" <user at lists.gambas-basic.org>
Subject: [Gambas-user] Resolved: how to add attachment and include in
    file body
Message-ID: <897863616.9452914.1575581127948 at mail.yahoo.com>
Content-Type: text/plain; charset="utf-8"

Figured out how to attach the file -? for future reference in case anyone else has the issues I had today...
Ivan

? Dim Email As New SmtpClient? Dim ftext As String??? ftext = File.load("/media/ShortBox/Stats/pmail.txt")??? Email.Host = "smtp.gmail.com"? Email.User = "bbunny at gmail.com"? Email.Password = "whatsupdoc!"?? Email.Port = 465? Email.Authentication = SmtpClient.Plain
? Email.Encrypt = Net.SSL

? Email.From = "bbunny at gmail.com"? Email.To.Add("dduck at yahoo.com")
? Email.Subject = "foghorns nephew"? Email.Body = ftext? ?? Email.Add(ftext, "text/plain", "egghead jr")??? Email.Send? Print "Mail Sent..."

?'sent previous email to wrong address - resending to correct address\




Ivan ?? \~/


?

I never saw a wild thing sorry for itself.
A small bird will drop frozen dead from a bough
Without ever having felt sorry for itself.
-- D.H. Lawrence





http://www.usconstitution.net/const.html


Linux - Live Free or Die.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20191205/cc93816e/attachment-0001.html>

------------------------------

Message: 4
Date: Thu, 5 Dec 2019 22:52:14 +0100
From: Christof Thalhofer <chrisml at deganius.de>
To: user at lists.gambas-basic.org
Subject: Re: [Gambas-user] Test of mail received
Message-ID: <ce672e27-8890-6b93-e9ef-735b8e4927f6 at deganius.de>
Content-Type: text/plain; charset="utf-8"

Am 05.12.19 um 01:14 schrieb T Lee Davidson:

> I have no clue at present what might have puckered up Google's butt.

If we're trying to reverse engineer Google's strange decisions we are in
the same situation like with Microsoft which we all left earlier.

If they use AI not even they are able to debug it.

My provider sends me all mail whether spam, virus or not and here in
Germany it is forbidden that the provider decides by itself, what mail
sent to me should reach me or not!

So I'm quite angry about Google's behavior and I will try to report this
to the authorities.

What should we do in the meantime? If someone sends a project, packed in
tar.gz it's very likely that Google bounces it and most of the people
with a Gmail account won't recognize it.

But: It is in the archive of the mailinglist which would be not the case
when the sender offers it in a binary pastebin.

I get a lot of bounces from Gmail. Then I will send these to the
authorities.

And people with a Gmail account could try to inform their provider and
demand that they get their mail! And perhaps one or the other will
realize that this is a relatively hopeless undertaking and consider
entrusting his mail to another, more reliable supplier.

Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20191205/a83543c9/attachment.sig>

------------------------------

Subject: Digest Footer

----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----


------------------------------

End of User Digest, Vol 27, Issue 20
************************************
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20191205/134be927/attachment-0001.html>


More information about the User mailing list