...
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
PureSMTP uses LOGIN authentication if you specify username/password in PureSMTP_SendMail(). Maybe you don't need to authenticate or your server uses 'POP3 authentication before SMTP', so try using PureSMTP_OpenPOP3ThenSMTPConnection().SFSxOI wrote:Just getting around to trying it out. I get an error:
Something went wrong
Status:3
500 5.5.1 Command Unrecognized: "AUTH LOGIN"
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
-
- Addict
- Posts: 2345
- Joined: Mon Jun 02, 2003 9:16 am
- Location: Germany
- Contact:
Cool, but do I need to choose the right provider then? Because mine isn't listed there.ricardo wrote:Everywhere.DarkDragon wrote:Really free? In what parts of the world?
The idea is very simple:
You send an e mail to the mobile phone. Its receives it as an SMS.
Most companies offer this service for free to their users.
The important part is to know how to format the phone number to use it as the receipt for the e mail.
AFAIK has to eb done like this
Two digit for country code
4 digit for area code
Phone number without the frist 2 digits.
Per example, a mobile here in argentia is
54 02278 15872634
Then, must be formated like:
542278872634 (taking off the 15 of the mobile phone number and the 0 of the area code)
542278872634@whatevermail.com
Will send email to your phone
-------
As i said i develope sometime ago some app that does this for Argentina.
BUT i notice that some prepaid mobile phones in some cases (don't know which cases) DON'T receive this e mails.
Thats why i stop distributing this small app.
Btw.: Area code for Germany is 49, right? And the leading 0 in Germany goes whereever then, right?
bye,
Daniel
Daniel
You don't need to find a right provider but to find the server they use to derivate and receive email for your phone. Ask them.DarkDragon wrote: Cool, but do I need to choose the right provider then? Because mine isn't listed there.
Btw.: Area code for Germany is 49, right? And the leading 0 in Germany goes whereever then, right?
Per example, in my case i use CTI as provider. CTI web page is cti.com.ar BUT that don't helps.
I found that need to use sms.ctimovil.com.ar to get emails to my mobile.
Once you get the appropiate server... you can send e mail to your mobile using any email client or develope some small app that does it.
---
Usually 0 of area codes get out for this.
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
I'd like to suggest a slightly modified event loop. In yours, if you open the combobox and type a letter, the list jumps to the first occurrence of that letter if it exists. This is good so far. However, when you type a second letter, it doesn't drill further down the list searching for the first+second letter, it starts over at the first occurrence of your second keypress in the list. With the suggested code, open the list and type 'V'. It jumps to "Verizon Pagers". Now type 'i'. It will drill down in the V's to "Virgin Mobile", which is what we use. This seems quicker and more intuitive (to me) Anyway, here it is, use or ignore at your whim:
Code: Select all
srch.s = ""
Repeat
Event = WaitWindowEvent()
If Event = #PB_Event_Gadget
Select EventGadget()
Case 0
If GetGadgetText(0) = "Area:" : SetGadgetText(0,"") : EndIf
Case 1
If GetGadgetText(1) = "Phone Number:" : SetGadgetText(1,"") : EndIf
Case 4
sendsms(GetGadgetText(0),GetGadgetText(1),GetGadgetText(5),GetGadgetText(2))
Case 5
If GetGadgetText(5) = "Subject:" : SetGadgetText(5,"") : EndIf
Case 6
If EventType() = 1
keydown=0
For i=65 To 90
If GetAsyncKeyState_(i) & 32768
keydown=i:Break
EndIf
Next
If keydown
srch+Chr(keydown)
result = SendMessage_(GadgetID(6),#CB_FINDSTRING,0,@srch)
If result = -1
srch=""
SetGadgetState(6,0)
Else
SetGadgetState(6,result)
EndIf
EndIf
EndIf
EndSelect
EndIf
Until event = #PB_Event_CloseWindow
BERESHEIT
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
Thanks net, when I get home I will take a look and probably add itnetmaestro wrote:I'd like to suggest a slightly modified event loop. In yours, if you open the combobox and type a letter, the list jumps to the first occurrence of that letter if it exists. This is good so far. However, when you type a second letter, it doesn't drill further down the list searching for the first+second letter, it starts over at the first occurrence of your second keypress in the list. With the suggested code, open the list and type 'V'. It jumps to "Verizon Pagers". Now type 'i'. It will drill down in the V's to "Virgin Mobile", which is what we use. This seems quicker and more intuitive (to me) Anyway, here it is, use or ignore at your whim:Code: Select all
srch.s = "" Repeat Event = WaitWindowEvent() If Event = #PB_Event_Gadget Select EventGadget() Case 0 If GetGadgetText(0) = "Area:" : SetGadgetText(0,"") : EndIf Case 1 If GetGadgetText(1) = "Phone Number:" : SetGadgetText(1,"") : EndIf Case 4 sendsms(GetGadgetText(0),GetGadgetText(1),GetGadgetText(5),GetGadgetText(2)) Case 5 If GetGadgetText(5) = "Subject:" : SetGadgetText(5,"") : EndIf Case 6 If EventType() = 1 keydown=0 For i=65 To 90 If GetAsyncKeyState_(i) & 32768 keydown=i:Break EndIf Next If keydown srch+Chr(keydown) result = SendMessage_(GadgetID(6),#CB_FINDSTRING,0,@srch) If result = -1 srch="" SetGadgetState(6,0) Else SetGadgetState(6,result) EndIf EndIf EndIf EndSelect EndIf Until event = #PB_Event_CloseWindow

I love Purebasic.
-
- User
- Posts: 66
- Joined: Fri Oct 17, 2003 2:42 am
Error
message: Something went wrong
Status:-3
530 5.7.0 Must issue a STARTTLS command first e17sm5093839qba
Using GMail SMTP & Receiving phone is a T-Mobile
Status:-3
530 5.7.0 Must issue a STARTTLS command first e17sm5093839qba
Using GMail SMTP & Receiving phone is a T-Mobile
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: Error
PureSMTP and PurePOP3 won't work with GMAIL.CherokeeStalker wrote:message: Something went wrong
Status:-3
530 5.7.0 Must issue a STARTTLS command first e17sm5093839qba
Using GMail SMTP & Receiving phone is a T-Mobile
The Google Gmail Server requires an encrypted connection (SSL).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
-
- Addict
- Posts: 2345
- Joined: Mon Jun 02, 2003 9:16 am
- Location: Germany
- Contact: