My latest project requires both sending and receiving emails. Now i know how to send emails using a gmail account, but what im having incredible difficulty with, is accepting emails. What i want, is to have a program that both has the ability to send emails, and capture emails being sent to the logged in user, and place them in an inbox list. I was wondering if anyone knew how to receive emails with a program, even temporarily, so that when an email is sent to the user, my program knows about it, and can take the body from the email, and place it in say a textbox.
The server is a .bat file that turns into a command prompt, and I need to be able to send commands like "stop" or "op player" and then I also need to be able to see the output from the cmd in a textbox. I found a code that can start and read what the cmd says but I can't send any commands to it.
I have a simple program that uses this code Dim sParams as string = "" Dim emailto as string = TextBox1.Text Dim subject as string = TextBox2.Text Dim body as string = TextBox3.Text sParams = "mailto:" & emailto & "?subject=" & subject & "&body=" & body System.Diagnostics.Process.Start(sParams) From this thread [URL] Now I have a table with about 6 email address's in. How would I go about sending emails to each one of these emails in the database using this code. User can also add emails to the database.
I have a very basic knowledge of coding, just enough to understand some PicBASIC Pro and program a microchip to send the values of some variables to a PC via the com port. I've used a terminal utility like Hyperterm to confirm the right variables are being sent, so I thought it would be cool to have a custom application on the PC to display these variables, and possible set them via the application by writing the new one back to the PIC. So I downloaded VB express 2008 - and whilst it was "simple" to draw a box and add a few text boxes I'm lost at how to actually do anything practical with it
[Code]...
Could someone advise me in laymens terms exactly what I need to do inorder to populate the text boxes with the data from the PIC micro. Whilst I understand the basics about BASIC, I have no idea on things like classes etc
I'm trying to write my own SMTP server at the moment so that people can use it in their applications to send and receive emails.I am having a few problems at the moment with the TcpListener side of things though. Basically I do not want to start the TcpListener in the constructor of my class because people could be using this SMTP Server class just to send emails and might not care about receiving them. In fact the majority of people that use it will probably use it for that reason, to send and not to receive.
So I am now considering breaking this into 2 totally separate projects that have no dependencies on each other, but could easily be used in the same application if required. The reason I designed this with both 'features' in the same project in the first place was because that is how an SMTP server works - it can receive incoming SMTP requests and it can send SMTP server requests to other servers (and in some cases, receiving an SMTP request would cause it to send an SMTP command to another server)
I already have the code for sending emails to different users but the problem is that if I have 3 users to receive the email - when I send an email to them they will received EACH 3 emails from me.
Please see code below:
Protected Sub btnSendInvite_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles btnSendInvite.Click lblError.Text = "" ''lblerrmsg.Text = ""
on a mail client in visual basic, till now i can only send emails using smtp, but i am having troubles finding how to receive themsimple code on how to read/receive emails using visual basic using .Net framework 3.5 will be the best.
I am building a customer contact management program for our office and would like to be able to store an email log inside the database. My plan is to send emails from the application interface and insert the data into the database; I understand how to do this completely.What I am struggling with is how to receive the emails, parse them and then insert that data into the database.
Imports Microsoft.VisualBasic Imports System.Net.Mail Public Class SendEmail
[code]....
code inside the ctrl "button sub"
Dim objemail As New SendEmail objemail.Mailto = txtEmail.Text objemail.email() LabelEmail.Text = "The email has been sent"
The specified string is not in the form required for an e-mail address, and i have tried to intilize vaild email in "mailto" field and ive removed everything in proprieties and fields?
writing a small application on sending a simple text sms like TEXT to the PC and it will get into the database (mySQL) to search for the information on it and reply back the result to the user. how to start on the application and the hardware i need in order to do it.
i've been searching for sending and receiving sms code using gsm modem because i can't find any information about it. Is there anybody can give me the code or suitable link for me to get sample code?
Hope i can get response as soon as possible as my tasks need to be completed in a week time.
Now there's a user "A" who has 100 followers...now what i want to do is whenever user "A" submits an article in the website all his followers should get an email with the article link...that is okay i can do it.
Problem: Now, there's a submit button on the page which stores the article in the DB and sends email to the followers...as there are many followers it takes a lot of time sending the emails...so the page keeps showing loading msg till all the emails are sent..how can i send all the emails asynchronously ??
i mean after the article has been submitted ...the emails should go automatically to the followers without putting the email sending function in the click event of the button....hope am not confusing you folks.
can i do something like store the article in the DB , redirect to the article page , start sending emails in a batch of 10 per 10 mins automatically...this process should start as soon as an article has been submitted by an user.
I have been trying to make my own app for sending emails. But I have been trying to make it where I don't have to sign into my hotmail account, it just does it automatically. Then all I need to do is fill out the recipients, subject, and body for the message and hit send but I am having issues. I can't for the life of me get it to work. After a week of messing around with it and scouring the internet for help, I have gotten to where the only error I get is, failure to send message.
Imports System.Net.Mail Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
[code]....
I have been working on this because I can't use Outlook with hotmail and I figured it would be interesting to try, but it turns out to be a lot harder than I expected.
On my Contacts page I have a form with Name,Email,Subject,Message textboxes.when I click the Send button I receive this error message "The SMTP server requires a secure connection or the client was not authenticated. The server response was: authentication required"this is the code I have behind the Send button
Protected Sub btnsend_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnsend.Click Dim mail_to As String = (my yahoo email)
I used the following code to send emails through outlook using vb.net. I installed windows xp professioanal,ms visual studio 2005, ms outlook 2002. But i am getting the following error. Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT))".
' Create an Outlook application. Dim oApp As Object oApp = New Outlook.Application()
Now there's a user "A" who has 100 followers...now what i want to do is whenever user "A" submits an article in the website all his followers should get an email with the article link...that is okay i can do it.roblem: Now, there's a submit button on the page which stores the article in the DB and sends email to the followers...as there are many followers it takes a lot of time sending the emails...so the page keeps showing loading msg till all the emails are sent..how can i send all the emails asynchronously ?? i mean after the article has been submitted ...the emails should go automatically to the followers without putting the email sending function in the click event of the button....hope am not confusing you folks.
I'm currently using SmtpClient to send emails to users that register or sign up for an event.When they click register it saves the info and calls the send email function, but it takes slightly less than a second to send an email which is too long.Is there a way to save the users info and after the page is loaded it calls the send email function from vb in the background.
I need to send/receive faxes through my web application, and I am not sure where to begin.Basically, a client clicks a button to send a fax, and records in the database under the client's name when a fax is received.Preferably through an API from a service based fax company... I will be hosting this application on a dedicated server, I don't think they allow using their modems.I am using .NET and VB.
I am doing a project on sending and receiving sms. But I do not know how start. But I have found this website that it teaches how to write the application on sending and receiving sms. What I see is that, it have different classes that is using. I have a dateline to finish my project on this. Here is the link that I am trying to learn from. [URL]
i have the following code that i send a command over the network to a Onkyo A/V reciever. I would like to get the feedback from that as well but i can not seem to find a way of doing that. I know the command to send to have it send something back but as for the code below, it only sends out a command and doesnt listen for a return.[code]
I am stuck with a problem of sending out an Arraylist from a client to a server.I am doing the following code to serialize and send out the arraylist from my client, but not sure how to collect it from the server side:
Private Sub Button1_Click(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles Button1.Click Dim i As Integer[code]..............
Currently I had write a simple VB code, my aim is when i click "Forward" button then the vb will send a character "A" to PIC, "Reverse" button will send "B" so I write my vb code for sending as below:
Dim Forward As Char = "A"
SerialPort1.Open()
SerialPort1.Write(Forward)
For the receiving part, after I received the data from PIC then I will show it at the label which act it as a screen. the receiving code as below:
SerialPort1.Open() receive = SerialPort1.ReadChar() If receive = "A" Then[code]....