473,834 Members | 2,319 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with sending email from asp.net page using smtp

hai

i am requesting your technical support.
please help me.

i have been working with this for five days.
the problem is relating with the smtp.
i am trying to send an email from the asp.net page.

earlier it was showing send using not find error.
this error was solved when set the smtpserver property of smtpmail to the
IP address of my machine.

i have done the coding in vb.net
_____________
AT THE OFFICE
SmtpMail.SmtpSe rver = "192.127.1. 69" IP ADDRESS OF MY CLIENT
MACHINE
SmtpMail.Send(m sg)
and set amart host as the name of the server
on the client machine smtp service is running.
on the server smtp service is running
but default smtp virtual server is not there
_______________ _______________ __

when i tried at my stand alone machine at home i set it as follows
SmtpMail.SmtpSe rver = "127.0.0.1"
SmtpMail.Send(m sg)
_______________ _______________ _____
on my stand alone machine using at home default smtp virtual server is there
and in the services list smtp is running.
and was able to send mail once.....just once
after that all messages are sent to the queue folder and to the badmails
folder thereafter
default SMTP virtual server is still there and smtp service is still
running.

on the network i was not able to send the message at all

on my stand alone machine which is using at home there is no fire wall and
is using a dial up connection.

And at the office we have a network there is firewall also and we are using
a dsl connection.
Will firewall create a problem.

I have tried changing almost every setting in the properties of the default
smtp server

At the office on the server machine I cant find the the defaule smtp vitrual
server when i opend the internet information service .

since i can't find the default smtp virtual server on the server machine i
cant change any settings in the property.
But int the services list it shows SMTP RUNNING

one default FTP server is there
But on the client machine i can find the default smtp virtual server

There is IIS installed on both client machine and the server. and both are
showing SMTP RUNNING in the services list.

For each mail sent three files are ther in the badmails folder
one them contain the error message.
The specific error code was 0xC00402C7.

What will i do?

Will you require any more information to give a solution for this
Please help me.

Nov 17 '05 #1
1 8044
hi

did rely of SMTP is set?

regards

G.Venkat

-----Original Message-----
hai

i am requesting your technical support.
please help me.

i have been working with this for five days.
the problem is relating with the smtp.
i am trying to send an email from the asp.net page.

earlier it was showing send using not find error.
this error was solved when set the smtpserver property of smtpmail to theIP address of my machine.

i have done the coding in vb.net
____________ _
AT THE OFFICE
SmtpMail.SmtpS erver = "192.127.1. 69" IP ADDRESS OF MY CLIENTMACHINE
SmtpMail.Send(m sg)
and set amart host as the name of the server
on the client machine smtp service is running.
on the server smtp service is running
but default smtp virtual server is not there
______________ _______________ ___

when i tried at my stand alone machine at home i set it as followsSmtpMail.SmtpS erver = "127.0.0.1"
SmtpMail.Send(m sg)
______________ _______________ ______
on my stand alone machine using at home default smtp virtual server is thereand in the services list smtp is running.
and was able to send mail once.....just once
after that all messages are sent to the queue folder and to the badmailsfolder thereafter
default SMTP virtual server is still there and smtp service is stillrunning.

on the network i was not able to send the message at all

on my stand alone machine which is using at home there is no fire wall andis using a dial up connection.

And at the office we have a network there is firewall also and we are usinga dsl connection.
Will firewall create a problem.

I have tried changing almost every setting in the properties of the defaultsmtp server

At the office on the server machine I cant find the the defaule smtp vitrualserver when i opend the internet information service .

since i can't find the default smtp virtual server on the server machine icant change any settings in the property.
But int the services list it shows SMTP RUNNING

one default FTP server is there
But on the client machine i can find the default smtp virtual server
There is IIS installed on both client machine and the server. and both areshowing SMTP RUNNING in the services list.

For each mail sent three files are ther in the badmails folderone them contain the error message.
The specific error code was 0xC00402C7.

What will i do?

Will you require any more information to give a solution for thisPlease help me.

.

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
3235
by: joe215 | last post by:
I want my users to send emails from a Windows app that I am developing in Visual Basic.NET 2003. I found a good example of sending email to a SMTP server using the SmtpMail class. However, using this, it seems, that the user must install IIS on their computer. Isn't there a class that will detect whatever mail server is available on a computer and use that? How do I create this functionality without having the user add any other...
3
6838
by: VB Programmer | last post by:
I have an ASPX page where I send out emails through my mail server mail.MyDomain.com. When I send emails to MyName@MyDomain.com it sends PERFECTLY. When I try sending an email to any other address (non-MyDomain.com address) I get the following error: The server rejected one or more recipient addresses. The server response was: 550 You must check your mail from this IP or SMTP Auth before sending to BSmith@Juno.com Here's the FULL...
9
3229
by: B-Dog | last post by:
I've built a small app that sends mail through our ISP's SMTP server but when I try to send through my local exchange server I get CDO error. Does webmail use SMTP or does it strictly rely on CDOmail. I don't want to use the Outlook reference because outlook prompts each time program access it and I have found a way to disable that. Can I use webmail with exchange? Thanks
3
4283
by: armando perez | last post by:
Hi, this is my first time here, but I was looking for something that may help me, and still, I haven't found something to use. I'm using a website made in .NET with C#, when I'm running my site from my PC, everything seems right, but when I publish the website, and send it to my real website, everything works but the mail sending. I have red some groups and topics, and everywhere I can found: - Use the following syntax: <system.net>
3
332
by: JaffaCakes | last post by:
I want to send an email confirmation after a user completes a form on our Internet page. I am testing this with the System.Web.Mail.SmtpMail class. If I do a SmtpMail.Send then the message takes days to reach the recipient. It is possible to set the SmtpServer but what will it be as the webserver is sitting on the otherside of our firewall so our Exchange Server address will be of no use. Can someone help? I am probably barking up the...
7
2397
by: Santosh | last post by:
Dear all, i am wrtiing following code for the sending email from the my asp application when i am working on the local machine i will work fine ans send email on the mentioned address. but when i deploy it on the server it doen not work. and also does not give any error. MailMessage newMessage = new MailMessage(); newMessage.From =txtEmail.Text.Trim(); newMessage.To="santosh.shinde@vritti.co.in";...
8
3813
by: Marty | last post by:
I'm having issues sending an email to an "@page.nextel.com" email address. I can send to any other email address fine, but when I try the page.nextel.com it gives me this error: Final-Recipient: XXXXXXX@page.nextel.com Diagnostic-Code: smtp; 554 message body contains illegal bare CR/LF characters. Action: failed Status: 5.0.0
0
1577
Dormilich
by: Dormilich | last post by:
this is a follow-up thread to this one. http://bytes.com/topic/html-css/answers/863662-form-not-submitted-sometimes I figured out that the mail sending class triggers the described error. unfortunately, no error message is given by the system. <?php class Mail_Tabelle extends Mail_DB { protected $description = false; const TBL_HEAD = ' <thead>
31
12736
by: happyse27 | last post by:
Hi All, I am trying for weeks how to send email from windows pc, which from my gmail account to my hotmail account. Using net::smtp module sending email failed,Kindly assist. (for the item d it is working for normal email servers, but NOT with gmail server, I am very puzzled still!!) Codes(item c below) It keeps complaining and logs and codes are below. a) apache access logs --------------------------------- 127.0.0.1 - - "GET...
0
9643
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10786
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10503
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10544
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7754
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6951
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5624
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5790
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4425
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.