473,387 Members | 1,575 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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.SmtpServer = "192.127.1.69" IP ADDRESS OF MY CLIENT
MACHINE
SmtpMail.Send(msg)
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.SmtpServer = "127.0.0.1"
SmtpMail.Send(msg)
___________________________________
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 8016
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.SmtpServer = "192.127.1.69" IP ADDRESS OF MY CLIENTMACHINE
SmtpMail.Send(msg)
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.SmtpServer = "127.0.0.1"
SmtpMail.Send(msg)
___________________________________
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
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...
3
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...
9
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...
3
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...
3
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...
7
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...
8
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: ...
0
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....
31
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...

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.