I have to generate the mail to their mail address specified at the time of the registration to specify the username and password. So i tried the following code to send email but the email is not generated showing me either "Failure sending mail" or "Connection timed out". So please help me to get out of this problem. Thanks in Advance try { System.Web.Mail.MailMessage message = new System.Web.Mail.MailMessage(); message.From = txtFrom.Text.Trim(); MailMessage objMailMessage = new MailMessage(); objMailMessage.From = new MailAddress(txtFrom.Text.Trim()); objMailMessage.To.Add(new MailAddress(txtTo.Text.Trim())); objMailMessage.Subject = txtsubject.Text.Trim(); objMailMessage.Body = txtMessage.Text.Trim(); objMailMessage.IsBodyHtml = false; SmtpClient objSmtpClient = new SmtpClient(); objSmtpClient.Host = "smtp.gmail.com"; objSmtpClient.Port …

Member Avatar
Member Avatar
+0 forum 1

please send me the code to generate an auto mail once the user clicks on the register button my register fields are first name,last name,date of birth,emailid i need the code to generate the password from the form information and send password and username to this emailid provided by the user.... the password generated should be valid for 3 days so once the user clicks on the link in the email he should be asked to change the password just lik how daniweb does please help me to do this using php please send the code

Member Avatar
Member Avatar
+0 forum 2

Hi I am trying to resolve an issue with Word 2007 not opening a document. I get this message: "There was a problem sending the command to the program". The OS is Windows 7 Pro running on a Dell 490. I have tried running in safe mode and deleting the Data entry in the registry. I have also checked for problems with Office and also did a Detect and Repair which completed successfully but the program still didn't start. Geoff

Member Avatar
Member Avatar
+0 forum 2

Invalid address: Invalid address: SMTP -> ERROR: Failed to connect to server: Connection timed out (110) SMTP Error: Could not connect to SMTP host. Mailer Error: SMTP Error: Could not connect to SMTP host.

Member Avatar
Member Avatar
+0 forum 2

hi daniens i want to send the attachments through authenticated mail in php. so can anyone help me ?? thanks in advance :)

Member Avatar
Member Avatar
+0 forum 12

Good evening guys, i just want to ask if the dbname.ssmssln something is sendable and usable on other computer or not. because i created a database and my other friend wants to see it and i send the ssmssln file i just want to know if he can access it. Thank you in advance and God bless.

Member Avatar
Member Avatar
+0 forum 2

What i want to build is this: Sending a command to another computer and get the results back on the computer where i started on. Additional info: I have a web server running with python on 192.168.10.100:5000. When i go to this address i get a web page and on this web page you'll this: PC1 192.168.10.110 textbox[type your command] button[send command to this computer] PC2 192.168.10.120 textbox[type your command] button[send command to this computer] So when i type in a command in the textbox of the first pc (i.e. ipconfig) and i click on the button, i want that …

Member Avatar
Member Avatar
+0 forum 7

Hi everyone, I have problem with form at my site. When you fill the text boxes it works fine but when you click SEND, the site is refreshing, form is clear and no message has been sent. My knowledge about PHP is very low. I found the tutorial which shows how to make that kind of form. I watched it 3 times and till now I don't know what is wrong. form is on this site --> [URL="http://www.hogar-biokominki.pl/jak_kupic.html"]www.hogar-biokominki.pl/jak_kupic.html[/URL] I have 3 files which whould operate the form. formularz.php [CODE]<div class="form" <? if(isset($_POST['sender'])) { echo "style=\"display:none;\""; } ?>> <form action="" method="post" …

Member Avatar
Member Avatar
+0 forum 5

[code="C++"] class item { string name; string identifier; public: item( string name,string id):{this->name=name;this->identifier=id;} friend ostream& operator<<(ostream&, const item&); friend istream& operator>>(istream&, item&); }; ostream& operator<<(ostream& out, const item& temp) { out<<item.name<<" "<<item.identifier<<endl; return out; } istream& operator>>(istream& in, Cmessage& temp) { getline(in,item.name);//in case sring has space char getline(in,item.identifier); return in; }[/code] [code="C++"] class CGuser { bool online; int score; string name; string password; string IP; vector<item> messages; vector<string> v_friends; vector<string> groups; public: CGuser(string name, string password) { this->name=name; this->password=password; this->score=0;} friend ostream& operator<<(ostream&, const CGuser&); friend istream& operator>>(istream&, CGuser&); ostream& operator<<(ostream& out, const CGuser& temp) { int size; out<<temp.online<<endl; out<<temp.score<<endl; …

Member Avatar
Member Avatar
+0 forum 8

Hi ... i want to send multiple screenshot images from my client to server.. now i already get the screenshot code.. and the only problem i have is that .. i can't send them in my server.. any code will help... Thanks Ahead.. God Bless...

Member Avatar
Member Avatar
+0 forum 2

I am doing a personal project to get to know C a little better: Some essential information - I have a usb printer - I am using Windows 7 OS..suggest better Os..haha..not NT or ms-dos ;) - I am using Visual C++ 2008 Express edition..coding strictly in C however(You can suggest other compilers that would be better to solve the problem) I want to make a program that while running, has the capabilities to send data to the printer to be printed on paper. I already know that I can write to file and than open notepad and print the …

Member Avatar
Member Avatar
+0 forum 6

Hi me again! =) if you didn't already know i am making a simple HTTP Server using TCP/IP sockets for a project. i have a method to get an image and send it over to the browser but i am having problems doing so, i have tried doing it different ways but nothing seems to be working. the browser asks for the image, the server sends the head along with the image but the browser never shows the image. the server works fine for all the html/css files i have send to the browser. Please help me!!! oh and yess …

Member Avatar
+0 forum 0

I am creating a project for video surveillance. How do i send the live video to the client using socketing and Udp. I tried sending consecutive images to the client using tcp so that it finally looks like a video when viewed at the client side. But was not successful.... Please do let me know how to capture and send the video...

Member Avatar
Member Avatar
+0 forum 2

Friends... I'm doing INVENTORY project... front-end : vb.net back-end : Access I'm having PURCHASE, SALES tables... Now i wanted to send E-MAIL(with OPTIONS LIKE: ATTACHMENTS, to specific E-MAIL address, to ANY NUMBER OF E-MAIL ADDRESS, CC, BB) when i click BUTTON... i don't know how to do this... please help me to finish... THANKS IN ADVANCE...

Member Avatar
Member Avatar
+0 forum 1

The End.