QB64.org Forum

Active Forums => QB64 Discussion => Topic started by: Juanjogomez on November 25, 2020, 06:06:38 am

Title: email from QB64
Post by: Juanjogomez on November 25, 2020, 06:06:38 am
Hi
Could an email be sent from Qb64? If possible from a gmail account and attaching a file.
Thanks
Title: Re: email from QB64
Post by: FellippeHeitor on November 25, 2020, 09:02:38 am
http://www.qb64.org/wiki/Email_Demo
Title: Re: email from QB64
Post by: _vince on November 25, 2020, 09:29:48 am
If you don't mind using SHELL, the 'sendmail' command/app is the standard for sending any kind of email which ever way
Title: Re: email from QB64
Post by: Juanjogomez on November 25, 2020, 01:41:23 pm
Thank you. I had not seen it. I will try both methods
Title: Re: email from QB64
Post by: Kernelpanic on November 25, 2020, 06:52:12 pm
I have test it six hours ago - and it is received?

Code: QB64: [Select]
  1. a$ = a$ + "Please reply to let me know if this works!" + crlf$ ' message
  2. a$ = a$ + "Thanks for developing QB64!" + crlf$
  3.  
Title: Re: email from QB64
Post by: Juanjogomez on November 26, 2020, 03:53:52 am
Hi,

I have just tried it in the two ways they have told me, as much as FellippeHeitor told me and _Vince told me, and I have not been able to make it work. I am using gmail. Could you tell me an exact example that works with gmail (I don't know if that's the problem)?
It tells me authentication failure.
Title: Re: email from QB64
Post by: FellippeHeitor on November 26, 2020, 06:05:07 am
You will probably not have luck with gmail's servers, due to security layers.
Title: Re: email from QB64
Post by: mpgcan on November 26, 2020, 06:35:49 am
A solution can be found in the following post:

 https://www.qb64.org/forum/index.php?topic=2352.0

All the best
Title: Re: email from QB64
Post by: Juanjogomez on November 26, 2020, 01:52:23 pm
Thanks. I'll keep trying
Title: Re: email from QB64
Post by: Kernelpanic on November 26, 2020, 08:20:26 pm
Ok, apparently nobody wants to answer me; not here only. So there is no reason to be a member any longer, so Mr. Heitor - delete my account.
Title: Re: email from QB64
Post by: SMcNeill on November 26, 2020, 09:34:10 pm
Ok, apparently nobody wants to answer me; not here only. So there is no reason to be a member any longer, so Mr. Heitor - delete my account.

Bye.

Just curious: who the heck was you talking to that didn't answer you?  Last post I saw was you saying something about sending an email, but you never mentioned to who you sent it.  Who exactly was you expecting a response from?
Title: Re: email from QB64
Post by: SpriggsySpriggs on November 26, 2020, 09:41:19 pm
Ok, apparently nobody wants to answer me; not here only. So there is no reason to be a member any longer, so Mr. Heitor - delete my account.
@Kernelpanic
Patience is a virtue
Title: Re: email from QB64
Post by: STxAxTIC on November 26, 2020, 09:42:51 pm
Did you check your email for a reply? Just sayin
Title: Re: email from QB64
Post by: SMcNeill on November 27, 2020, 01:37:47 am
Did you check your email for a reply? Just sayin

My simple question is:  Why not send an email to yourself, if you’re testing functionality?  Then you don’t have to wait for a response from a stranger — unless you have a split personality...
Title: Re: email from QB64
Post by: Pete on November 27, 2020, 03:35:03 am
Don't send emails to yourself. I sent an email to myself once, and discovered I can be a real prick, sometimes.

Kidding aside, Rob and I tried this out decades ago. He was able to send to my account, but my Cox account prevented my emails from reaching him. There are ways around security issues, like slaving with firefox headers when trying to get onto secure https sites with QB64. Sorry I can't be more specific, as this was stuff I messed with too long ago to recount the results. My point is, it ain't easy if your ISP is an SOB.

Pete

Title: Re: email from QB64
Post by: Juanjogomez on November 27, 2020, 11:55:21 am
Thanks to everyone. I thought it was something easier.