
DisabledMonkey
Active Members-
Posts
71 -
Joined
-
Last visited
Profile Information
-
Location
location
Recent Profile Visitors
327 profile views
DisabledMonkey's Achievements

Wayfarer (2/7)
1
Reputation
-
This error is exactly what it is describing. A failure to send the sms (email) over smtp to the gmail server due to a failure to connect. What's strange is the settings you have entered appear to be correct for gmail so I can't really direct you other than these few guesses below... (these are complete guesses) 1. make 100% sure your smtp settings are correct 2. make sure gmail doesn't require you to toggle something on to allow smtp access (don't have a gmail account so I don't know if this is the case) 3. if you have a firewall, make sure it is not blocking outbound traffic on your smtp port, or even try disabling it to see. possible testing options 1. try to send an smtp message with the same account through a program like outlook or another smtp client Good Luck, Hopefully you can get it working. DisabledMonkey
-
JRowe, thanks for the awesome UDF, think it could be very useful for certain things (fading in and out, changing colors fluidly, moving controls, animations and stuff like that). I expanded on it a bit to add some functionality that I thought could be very useful, and tried to make it a bit more user friendly. Added ability for transitions to be timed. (ex. move from 1-100 in 3 seconds) Added ability for transitions to be non-blocking. (ex. doesn't run in a loop and therefore allows your main loop to run as transition is occurring, button clicks and stuff like that can happen while transition is going) Function List: _Transition_Create() - Creates a transition that can be run at any point in your program. _Transition_Start() - Starts the created transition. _Transition_Array_Start() - Starts an array of transitions. (Basically you put the transitions in an array and it starts them all. This improves performance for running many transitions at the same time because it can use the same 'tick' event for all the transitions in the array instead of having one for each transition). _Transition_Stop() - Stops a transition. _Transition_Array_Stop() - Stops an array of transitions. _Transition_Stop_All() - Stops any and all transitions that are running. Note: Constants for the different types of transitions JRowe created can be found in the UDF. Examples: Most basic usage. #include <_Transitions.au3> $id = _Transition_Create(1, 1000, 4, "_TransitionOne", $LINEAR_TWEEN); count 1-1000 in 4 seconds, runs "_TransitionOne" every-time the value is updated, and updates it using a linear tween _Transition_Start($id) While 1 sleep(100) WEnd Func _TransitionOne($n) ConsoleWrite(Round($n) & @CRLF) EndFunc Transitions Example.au3 Transitions Example Array.au3 Transition Example.au3 The UDF: _transitions.au3 I think everything should be fairly straight forward, but you can always look in the UDF and examples if something isn't making sense. If anybody has questions let me know. The only problem I have really run into with the UDF as I made it is performance, so if anybody with more knowledge then me can come up with a better way, or tips on how to make it run better, I would be very interested. Once again, thank you JRowe for an excellent UDF to build off of. Peace, Disabled Monkey
-
Guessing you just have to enable mail reception with your phone service provider. I know for t-mobile which I have, I had to change a setting on my account online to allow it. Good luck finding it and enabling it.
-
No worries, Glad you got it figured out and the udf is useful for you.
-
Updated UDF... See first post Added 168 new consts. 274 consts total. Some of the new consts are for pager gateways. Formatted UDF to follow UDF guidelines better: More error checking in place. Functions are commented. Functions renamed: _SMS_Start($sSMTP,$sEmail,$sUsername,$sPassword,$iPort = 25,$iSSL = 0) _SMS_Send($aSMS,$iNumber,$sService,$sMessage,$sFromName = "") @SprinterGuru - This UDF doesn't support countries, but instead supports service providers. You will have to check the const's in the UDF itself to see if the service provider you want is in there, or you could look up your service provider's sms gateway and use that instead of one of my const's.
-
Lookup Eval and/or Execute in the AutoIT help file. Might help you with what you are looking for.
-
Glad to see someone is getting use out of this. I think this might be what you were going for with the assigned value thing. #include <SMS.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <ListviewConstants.au3> #include <Array.AU3> Global $array[9][2] Global $cName = 0 Global $cService = 1 $array[0][$cName] = 'ALIANT CANADA' $array[0][$cService] = $ALIANT_CANADA $array[1][$cName] = 'ALLTEL' $array[1][$cService] = $ALLTEL $array[2][$cName] = 'AMERITECH' $array[2][$cService] = $AMERITECH $array[3][$cName] = 'AT&T WIRELESS' $array[3][$cService] = $ATT_WIRELESS $array[4][$cName] = 'BELLSOUTH' $array[4][$cService] = $BELLSOUTH $array[5][$cName] = 'BOOST' $array[5][$cService] = $BOOST $array[6][$cName] = 'CELLULAR ONE' $array[6][$cService] = $CELLULARONE $array[7][$cName] = 'CINGULAR' $array[7][$cService] = $CINGULAR $array[8][$cName] = 'VERIZON' $array[8][$cService] = $VERIZON #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("SMS", 336, 232, 189, 120) GUISetBkColor (0x00AAAA) $InputSvr = GUICtrlCreateInput(iniread ("C:\SMS.ini", "INFO" , "SERVER" , "SERVER"), 16, 16, 145, 21) $Inputemail = GUICtrlCreateInput(iniread ("C:\SMS.ini", "INFO" , "EMAIL" , "EMAIL"), 16, 48, 145, 21) $Inputuser = GUICtrlCreateInput(iniread ("C:\SMS.ini", "INFO" , "USER" , "USER"), 16, 80, 145, 21) $Inputpass = GUICtrlCreateInput("PASSWORD", 16, 112, 145, 21) ;~ $Inputpass = GUICtrlCreateInput(iniread ("C:\SMS.ini", "INFO" , "password" , "password"), 16, 112, 145, 21) $Inputnum = GUICtrlCreateInput(iniread ("C:\SMS.ini", "INFO" , "NUMBER" , "NUMBER"), 16, 144, 145, 21) $Inputmsg = GUICtrlCreateInput("MESSAGE", 184, 16, 137, 75) $Combo = GUICtrlCreateCombo($array[0][$cName], 184, 96) GUICtrlSetData($Combo, $array[1][$cName] & "|" & $array[2][$cName] & "|" & $array[3][$cName] & "|" & $array[4][$cName] & "|" & $array[5][$cName] & "|" & $array[6][$cName] & "|" & $array[7][$cName] & "|" & $array[8][$cName], $array[0][$cName]) ; add other item snd set a new default $Button1 = GUICtrlCreateButton("OK", 128, 184, 75, 25) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Select Case $nMsg = $GUI_EVENT_CLOSE Exit Case $nMsg = $Button1 IniWrite ("C:\SMS.ini" , "INFO" , "server" , GUIctrlread($inputsvr)) IniWrite ("C:\SMS.ini" , "INFO" , "email" , GUIctrlread($inputemail)) IniWrite ("C:\SMS.ini" , "INFO" , "user" , GUIctrlread($inputuser)) ;~ IniWrite ("C:\SMS.ini" , "INFO" , "password" , GUIctrlread($inputpass)) IniWrite ("C:\SMS.ini" , "INFO" , "number" , GUIctrlread($inputnum)) $server = GuiCtrlRead ($inputsvr) $email = GuiCtrlRead ($inputemail) $username = GuiCtrlRead ($inputuser) $password = GuiCtrlRead ($inputpass) $port = 465 $ssl = 1 $number = GuiCtrlRead ($inputnum) $message = GuiCtrlRead ($inputmsg) $service = GUICtrlRead($Combo) For $n = 0 to Ubound($array)-1 If $array[$n][$cName] = $service Then $service = $array[$n][$cService] EndIf Next $sms = _StartSMS($server,$email,$username,$password,$port,$ssl) _SendSMS($sms,$number,$service,$message) exit EndSelect WEnd I used a Combo instead of a Listview just because i felt it's more fitting for this type of project and easier to get the selected index by what it's actual name is. If you have any questions about what I did, let me know. Hopefully it helps, DisabledMonkey
-
Just something I found online quick You need to first enable the Mobile Email service. You can login to T-Mobile and enable it yourself under "Plan". T-Mobile told me there's no setup fee, no monthly fee, and no *inbound* (email-2-sms) fee. There is a fee for *outbound* (sms-2-email), but I can't see anyone here caring about that. The n in what you found online just stands for your number which i put in automatically, so the service provider I used in my UDF appears to be correct. Just try to enable Mobile Email service on your t-mobile plan and try the UDF again, should work then Disabled Monkey
-
To me it sounds like you just have a wrong SMS gateway for your Service provider. Look up your SMS gateway online to make sure it matches the one I have in my UDF. Note that I don't have every single Service provider in my UDF and I can't guarantee they are all correct since I just found the list of them from a resource online. Good Luck. DisabledMonkey
-
Honestly I don't know what is causing this exactly, it seems the error checking object.... $oMyError = ObjEvent("AutoIt.Error", "MyErrFunc") Is not being initialized correctly for you for some reason or another. I have been unable to reproduce this and don't know enough about it to point you in the right direction, sorry.
-
@electrico - I added it, see first post. @Everyone Else. If you would like me to add a service provider to this UDF from now on, please make the Const for me and I will add it. Global Const $COMPANY_COUNTRY = "@smsgateway.xxx" If the gateway needs a prefix to the address just put that before the @ symbol. Most sms gateways are simple to find, just do a google search like... tmobile sms gateway Or at least something similar to that. Also does anyone on this forum know of a way to replace an attachment without resetting the download count? Thanks, DisabledMonkey
-
@ludocus Sorry, I probably should have tested this more extensively. Updated UDF again, find it in the first post. Found what was causing your issue, hopefully this fixes it for you. Anyone that is trying to use a Service provider with prefix (a const with a number before the @ symbol) should update to the newest UDF ex. Global Const $T_MOBILE_NETHERLANDS = "31@gin.nl" Thank you guys for helping point out these issues. DisabledMonkey
-
Like I said in the last post, I updated the UDF in the first post, re-download it and the warnings will magically disappear
-
@pierrotm777 - Your error is in what you have for the example script. It's having trouble parsing your password. Make sure you have it in there correctly. Updated UDF in first post: Added SFR and BOUYGUES. Couldn't find ORANGE for france. You might be able to use one of the other orange servers, not really sure. Made it so you no longer get the two WARNING messages about the variables. A few notes about using this UDF: If it doesn't seem to be working. Chances are your SMTP settings are wrong. Check with your email service provider to find out what its settings for SMTP are, they vary (especially the port). If it still doesn't seem to be working. Check my udf's constants to make sure it is correct for the phone service provider for the number you are trying to text. I grabbed this list online and therefore cannot guarantee that it is fully up-to-date and correct. Once again, if you have any questions, comments, etc, just let me know. Thanks, DisabledMonkey
-
Hey, Thanks for the interest, Like I said, I used Jos' SMTP UDF and I missed copying over the error checking correctly. I modified the UDF in the first post. You shouldn't get those errors now, but it probably won't work because your SMTP isn't working properly. Let me know if you have more questions, DisabledMonkey