|
MichCl wrote: Random randomNum = new Random(seed);
And that should be a field (perhaps static), not a metthod variable.
|
|
|
|
|
Hi CodeProject World,
How can i use TAPI for PBX via C# .
I wanna to have Caller Id and Transfer and Make Call from my PBX via TAPI and C#.
i have three line 101,102,103 from my PBX and 4 line in coming into PBX.
i have connected line 103 via Phone wire to my computer Modem .
We have 3 computers in our work office and all have connected to PBX via Modem .
Thanks in advanced !
|
|
|
|
|
TAPI might not come into play with this at all.
You have to dig out the documentation on your PBX system and find out if it exposes some kind of interface over that modem connection or some other connection you can use.
|
|
|
|
|
|
You linked to a Wiki page, not to an actual application or article.
That page lists a few drivers for specific PBX's. Do you have one of those??
This is where YOU do research, based on what YOU have and what YOU know. I'm not doing it for you and chances are really good that you're not going to find example code for exactly what you're looking for.
|
|
|
|
|
So what is the solution.isnt it possible.(I have panasonic PBX).
can i use kdtele OCX for this.?
Help plz.
Thanks in advanced.
|
|
|
|
|
Is it possible?? YES!
It is possible on YOUR system? I have no idea!
YOU have to dig out your documentation to verify it and start researching yourself.
Interfacing with a PBX is not a common task, so you're not going to find a whole ton of experience and sample code out there. But, you can probably start with Googling for "".
C# PBX Integration[^]
|
|
|
|
|
thanks for your attention.
I have googled a lot but .......
I just wanna control the phone line which is coming out of PBX to my computer modem .
make call,transfer call,..
the same thing that my central phone done.
|
|
|
|
|
I have no idea and I'm not doing all the research for you. That's what YOU are getting paid to do.
|
|
|
|
|
|
If your'e looking to be spoon fed, you're not going to get it.
I've already given what you need to get started. This is where YOU TEACH YOURSELF something new.
|
|
|
|
|
I am using system.web.mail in windowsform to send mails on a ssl webmail of a service for certified mails. The problem is that the mails are not saved in the sentItems. Is there anyway to dio that? (Thanks)
here is the code:
System.Web.Mail.MailMessage newMail = new System.Web.Mail.MailMessage();
newMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserver", "smtps.pec.aruba.it");
newMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserverport", "465");
newMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusing", "2");
newMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1");
newMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", "xxxxxxxxxxxxx@pec.it");
newMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", "yyyyyyyyyyyyyyy")
newMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpusessl", "true");
newMail.From = "xxxxxxxxxxxxx@pec.it");
newMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/savesentitems", "true");
newMail.To = dataGridView2.Rows[i].Cells[0].Value.ToString().Trim();
newMail.Subject = textOggetto.Text;
newMail.BodyFormat = System.Web.Mail.MailFormat.Html;
newMail.Body = editor.BodyHtml;
System.Web.Mail.SmtpMail.SmtpServer = "smtps.pec.aruba.it:465";
System.Web.Mail.SmtpMail.Send(newMail);
|
|
|
|
|
AFAIK it will not save it in Sent Mail because you are not using a mail application (for example Outlook) to send the mail.
Your code sends the mail in the background instead of using a mail client (for example Outlook). The mail client keeps track of sent and received items.
What I can suggest, if you need to account for sent mails, is to log the items to a flat file or db.
|
|
|
|
|
Thanks for your reply, I have searched for a way to save a message object in .eml file, but I found nothing. Any help? Thanks a lot!
|
|
|
|
|
Have a look at this code project article.
I have not tried it but it seems to be what you are after.
|
|
|
|
|
You use SMTP, not IMAP. With SMTP, the mail will not be copied to the "sent" folder on the mail server. You could add your own email address in the cc or bcc field to get a copy to yourself.
|
|
|
|
|
No! is the most consise answer you could get as it sends the mail via an SMTP server and not through an email client such as Microsoft Outlook.
To achieve the saving a message into the saved items I would have a read of this article
Codeproject : C# code snippet to send email from outlook[^]
Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch
|
|
|
|
|
Hi all, am a beginner in C# and would like to uplaod a picture into a picture box in my win app.Anyone with the code, please help.
|
|
|
|
|
Why not try this[^] first?
|
|
|
|
|
|
hello, i want to know how to fetch data from database in labels using asp.net c# three tier architecture...?
|
|
|
|
|
|
In a C#.asp.net 2010 application that connects to a sql server 2008 r2 database, I would like to write a linq to sql
statement that will translate to:
Select field1 from testtable
where column1='customer' and column2 = 'statename'
The sql would run using an existing datacontext object.
Can you should me some code that would accomplish this task?
|
|
|
|
|
var lowNums =
from n in numbers
where n < 5
select n;
101 examples[^], simply scroll down the page
Bastard Programmer from Hell
|
|
|
|
|
It is a pretty simple conversion in this case:
var field1s =
from t in yourDataContext.testtable
where t.column1 == "customer" &&
t.column2 == "statename"
select t.field1;
The field1s will be of type IQueryable<ftype> where ftype represents the data type of field1 .
|
|
|
|