A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

custom SMS gateway



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 23rd 08, 04:07 PM posted to microsoft.public.outlook.program_vba
Abdulfatah A. Reslan
external usenet poster
 
Posts: 10
Default custom SMS gateway

Daer Sir:

in outlook 2007 their feature to send sms to mobile by using specific
sms provider which we can get it during mail account setup via web site
http://messaging.office.microsoft.com/Overview.aspx
my qusetion is if i can put my own gateway to sending SMS instead of
spsecific provider by using VBA for outlook 2007????
  #2  
Old April 23rd 08, 06:39 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default custom SMS gateway

The SMS Link functionality is not exposed in the Outook object model. IIRC, it's a separate add-in. If you want to develop a gateway that uses the SMS Link feature in Outlook 2007, you would need to contact Micrsooft about becoming a provider.

If your wireless provider supports sending messages to , that's just another email address to Outlook.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Abdulfatah A. Reslan" wrote in message ...
Daer Sir:

in outlook 2007 their feature to send sms to mobile by using specific
sms provider which we can get it during mail account setup via web site
http://messaging.office.microsoft.com/Overview.aspx
my qusetion is if i can put my own gateway to sending SMS instead of
spsecific provider by using VBA for outlook 2007????

  #3  
Old April 26th 08, 11:37 AM posted to microsoft.public.outlook.program_vba
Abdulfatah A. Reslan
external usenet poster
 
Posts: 10
Default custom SMS gateway


Dear Sue Mosher

thank you very much for your help with your web site.
I started creation new form for sending SMS by select users or distribution
list
from address book I did every think programmatically and get all code and
help from
your web site and VBA for outlook 2007 help but i still have one problem i
can open address book and let customer select contact or distribution list to
send SMS
and then i can read mobile number for recipients for any contact but i cant
retrieve
the contact from distribution list to get his mobile number.

thank you again



"Sue Mosher [MVP-Outlook]" wrote:

The SMS Link functionality is not exposed in the Outook object model. IIRC, it's a separate add-in. If you want to develop a gateway that uses the SMS Link feature in Outlook 2007, you would need to contact Micrsooft about becoming a provider.

If your wireless provider supports sending messages to , that's just another email address to Outlook.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Abdulfatah A. Reslan" wrote in message ...
Daer Sir:

in outlook 2007 their feature to send sms to mobile by using specific
sms provider which we can get it during mail account setup via web site
http://messaging.office.microsoft.com/Overview.aspx
my qusetion is if i can put my own gateway to sending SMS instead of
spsecific provider by using VBA for outlook 2007????


  #4  
Old April 27th 08, 07:07 AM posted to microsoft.public.outlook.program_vba
Abdulfatah A. Reslan
external usenet poster
 
Posts: 10
Default custom SMS gateway


Dear Sue Mosher

this is my code i can read mobile number for contact but how i can
retrieve contact form distribution list like in last question

Dim oDialog As SelectNamesDialog
Dim Recp As Recipient

Set oDialog = Application.Session.GetSelectNamesDialog



With oDialog

If .Display Then


For Each Recp In .Recipients
MsgBox Recp.AddressEntry.GetContact.MobileTelephoneNumber
Next Recp

End If
End With




"Abdulfatah A. Reslan" wrote:


Dear Sue Mosher

thank you very much for your help with your web site.
I started creation new form for sending SMS by select users or distribution
list
from address book I did every think programmatically and get all code and
help from
your web site and VBA for outlook 2007 help but i still have one problem i
can open address book and let customer select contact or distribution list to
send SMS
and then i can read mobile number for recipients for any contact but i cant
retrieve
the contact from distribution list to get his mobile number.

thank you again



"Sue Mosher [MVP-Outlook]" wrote:

The SMS Link functionality is not exposed in the Outook object model. IIRC, it's a separate add-in. If you want to develop a gateway that uses the SMS Link feature in Outlook 2007, you would need to contact Micrsooft about becoming a provider.

If your wireless provider supports sending messages to , that's just another email address to Outlook.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Abdulfatah A. Reslan" wrote in message ...
Daer Sir:

in outlook 2007 their feature to send sms to mobile by using specific
sms provider which we can get it during mail account setup via web site
http://messaging.office.microsoft.com/Overview.aspx
my qusetion is if i can put my own gateway to sending SMS instead of
spsecific provider by using VBA for outlook 2007????


  #5  
Old April 28th 08, 03:37 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default custom SMS gateway

Use the AddressEntry.DisplayType property to determine whether you have a contact or some other type of recipient. If it's a DL, you can try to return the DL by name from the default Contacts folder and then use its GetMember method to return each DL member as a Recipient.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Abdulfatah A. Reslan" wrote in message ...

Dear Sue Mosher

this is my code i can read mobile number for contact but how i can
retrieve contact form distribution list like in last question

Dim oDialog As SelectNamesDialog
Dim Recp As Recipient

Set oDialog = Application.Session.GetSelectNamesDialog



With oDialog

If .Display Then


For Each Recp In .Recipients
MsgBox Recp.AddressEntry.GetContact.MobileTelephoneNumber
Next Recp

End If
End With




"Abdulfatah A. Reslan" wrote:


Dear Sue Mosher

thank you very much for your help with your web site.
I started creation new form for sending SMS by select users or distribution
list
from address book I did every think programmatically and get all code and
help from
your web site and VBA for outlook 2007 help but i still have one problem i
can open address book and let customer select contact or distribution list to
send SMS
and then i can read mobile number for recipients for any contact but i cant
retrieve
the contact from distribution list to get his mobile number.

thank you again



"Sue Mosher [MVP-Outlook]" wrote:

The SMS Link functionality is not exposed in the Outook object model. IIRC, it's a separate add-in. If you want to develop a gateway that uses the SMS Link feature in Outlook 2007, you would need to contact Micrsooft about becoming a provider.

If your wireless provider supports sending messages to , that's just another email address to Outlook.



"Abdulfatah A. Reslan" wrote in message ...
Daer Sir:

in outlook 2007 their feature to send sms to mobile by using specific
sms provider which we can get it during mail account setup via web site
http://messaging.office.microsoft.com/Overview.aspx
my qusetion is if i can put my own gateway to sending SMS instead of
spsecific provider by using VBA for outlook 2007????

  #6  
Old April 30th 08, 11:33 AM posted to microsoft.public.outlook.program_vba
Abdulfatah A. Reslan
external usenet poster
 
Posts: 10
Default custom SMS gateway


Dear Sue Mosher [MVP-Outlook]" thank you again for your help

i try your solution and i can get recipient member for a distrpution
list
and can get the recipents name but when run the GetContact method to
retrive
mobile number i found the error No: (-2147221233 (8004010f))) unable to
find member, buti can get the mobile number from normal recpinit type thats
my code:

Dim oDialog As SelectNamesDialog
Dim Recp As Recipient
Dim DistListRecp As Recipient
Dim DL As DistListItem
Dim i As Integer

Set oDialog = Application.Session.GetSelectNamesDialog

With oDialog
If .Display Then
For Each Recp In .Recipients
If (Recp.DisplayType = olPrivateDistList) Or
(Recp.DisplayType = olDistList) Then
Set DL = _

Outlook.Application.GetNamespace("MAPI").GetDefaul tFolder(olFolderContacts).Items.Item(Recp.Name)
'MsgBox Recp.Name
'Set DL =
Application.Session.GetItemFromID(Recp.Name)

'Set myFolderItems = myFolder.Items
For i = 1 To DL.MemberCount
Set DistListRecp = DL.GetMember(i)
'This code working
MsgBox DistListRecp.name
'but error (-2147221233 (8004010f)))
unable to find member hear

MsgBox
DistListRecp.AddressEntry.GetContact.MobileTelepho neNumber
Next i



Else
this code working
MsgBox
Recp.AddressEntry.GetContact.MobileTelephoneNumber
End If
Next Recp

End If
End With




"Sue Mosher [MVP-Outlook]" wrote:

Use the AddressEntry.DisplayType property to determine whether you have a contact or some other type of recipient. If it's a DL, you can try to return the DL by name from the default Contacts folder and then use its GetMember method to return each DL member as a Recipient.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Abdulfatah A. Reslan" wrote in message ...

Dear Sue Mosher

this is my code i can read mobile number for contact but how i can
retrieve contact form distribution list like in last question

Dim oDialog As SelectNamesDialog
Dim Recp As Recipient

Set oDialog = Application.Session.GetSelectNamesDialog



With oDialog

If .Display Then


For Each Recp In .Recipients
MsgBox Recp.AddressEntry.GetContact.MobileTelephoneNumber
Next Recp

End If
End With




"Abdulfatah A. Reslan" wrote:


Dear Sue Mosher

thank you very much for your help with your web site.
I started creation new form for sending SMS by select users or distribution
list
from address book I did every think programmatically and get all code and
help from
your web site and VBA for outlook 2007 help but i still have one problem i
can open address book and let customer select contact or distribution list to
send SMS
and then i can read mobile number for recipients for any contact but i cant
retrieve
the contact from distribution list to get his mobile number.

thank you again



"Sue Mosher [MVP-Outlook]" wrote:

The SMS Link functionality is not exposed in the Outook object model. IIRC, it's a separate add-in. If you want to develop a gateway that uses the SMS Link feature in Outlook 2007, you would need to contact Micrsooft about becoming a provider.

If your wireless provider supports sending messages to , that's just another email address to Outlook.



"Abdulfatah A. Reslan" wrote in message ...
Daer Sir:

in outlook 2007 their feature to send sms to mobile by using specific
sms provider which we can get it during mail account setup via web site
http://messaging.office.microsoft.com/Overview.aspx
my qusetion is if i can put my own gateway to sending SMS instead of
spsecific provider by using VBA for outlook 2007????


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Item_Send: How to generate a non-custom form message from custom f supportusa Outlook - Using Forms 3 April 9th 07 10:37 PM
I am having compatibility issues with Gateway notebook Please help me with me GATEWAY lap top Outlook Express 1 June 17th 06 03:01 AM
upgraded to outlook 2003 on gateway laptop-can send but not receiv joetta Outlook - Installation 1 May 15th 06 03:34 AM
Emailing a contact vCard with custom form loses all custom info Kim Outlook - Using Contacts 7 April 27th 06 12:21 AM
Cannot programmatically open custom message in custom form ms Outlook - Using Forms 1 January 20th 06 03:01 PM


All times are GMT +1. The time now is 04:35 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.