473,387 Members | 1,512 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 in sending mail

ds
Hello
Iam sending mail from web page like, enquiry form mail using asp and
asp.net.while send the mail i don't have any error.
but the mail does't reach the destination.can some one give me a
solution for this problem.

ds

Sep 23 '05 #1
11 1792
CT
ds,

Please don't send multiple posts of the same message. Now, you don't say
what code your'e using to send message. That would be a start ;-)

--
Carsten Thomsen
Enterprise Development with VS .NET, UML, AND MSF
http://www.apress.com/book/bookDisplay.html?bID=105
Communities - http://community.integratedsolutions.dk

"ds" <ma********@gmail.com> wrote in message
news:11*********************@g49g2000cwa.googlegro ups.com...
Hello
Iam sending mail from web page like, enquiry form mail using asp and
asp.net.while send the mail i don't have any error.
but the mail does't reach the destination.can some one give me a
solution for this problem.

ds

Sep 23 '05 #2
ds
ct,
i posted only one message.there is no error.the message some time ,but
most of the time the message is not reached to destination.

ds

CT wrote:
ds,

Please don't send multiple posts of the same message. Now, you don't say
what code your'e using to send message. That would be a start ;-)

--
Carsten Thomsen
Enterprise Development with VS .NET, UML, AND MSF
http://www.apress.com/book/bookDisplay.html?bID=105
Communities - http://community.integratedsolutions.dk

"ds" <ma********@gmail.com> wrote in message
news:11*********************@g49g2000cwa.googlegro ups.com...
Hello
Iam sending mail from web page like, enquiry form mail using asp and
asp.net.while send the mail i don't have any error.
but the mail does't reach the destination.can some one give me a
solution for this problem.

ds


Sep 23 '05 #3
CT
Got you. :-) Now, what about the code?

--
Carsten Thomsen
Enterprise Development with VS .NET, UML, AND MSF
http://www.apress.com/book/bookDisplay.html?bID=105
Communities - http://community.integratedsolutions.dk

"ds" <ma********@gmail.com> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
ct,
i posted only one message.there is no error.the message some time ,but
most of the time the message is not reached to destination.

ds

CT wrote:
ds,

Please don't send multiple posts of the same message. Now, you don't say
what code your'e using to send message. That would be a start ;-)

--
Carsten Thomsen
Enterprise Development with VS .NET, UML, AND MSF
http://www.apress.com/book/bookDisplay.html?bID=105
Communities - http://community.integratedsolutions.dk

"ds" <ma********@gmail.com> wrote in message
news:11*********************@g49g2000cwa.googlegro ups.com...
> Hello
> Iam sending mail from web page like, enquiry form mail using asp and
> asp.net.while send the mail i don't have any error.
> but the mail does't reach the destination.can some one give me a
> solution for this problem.
>
> ds
>

Sep 23 '05 #4
ds
ct

code

Dim objMessage As New MailMessage
objMessage.From = fromid
objMessage.To = "te**@test.com"
objMessage.Subject = "Subject"
objMessage.Body = "MailBody"
objMessage.BodyFormat = MailFormat.Html
'Optionally set to external SMTP Server
SmtpMail.SmtpServer = ""
SmtpMail.Send(objMessage)
i haven't given the smtp server,since i want to send from one server to
another.this code works some times.

ds

Sep 23 '05 #5
CT
Hmm, code looks okay. Have you checked if the messages are left in the
:\Inetpub\mailroot\Drop folder?

--
Carsten Thomsen
Enterprise Development with VS .NET, UML, AND MSF
http://www.apress.com/book/bookDisplay.html?bID=105
Communities - http://community.integratedsolutions.dk

"ds" <ma********@gmail.com> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
ct

code

Dim objMessage As New MailMessage
objMessage.From = fromid
objMessage.To = "te**@test.com"
objMessage.Subject = "Subject"
objMessage.Body = "MailBody"
objMessage.BodyFormat = MailFormat.Html
'Optionally set to external SMTP Server
SmtpMail.SmtpServer = ""
SmtpMail.Send(objMessage)
i haven't given the smtp server,since i want to send from one server to
another.this code works some times.

ds

Sep 23 '05 #6
ds
to ct

i check,the folder is empty.

ds

Sep 24 '05 #7
CT
Okay, and you checked the folder on the machine on which the SMTP server you
use is installed, right? If so, can you please check the other folders in
the :\Inetpub\mailroot as well?

--
Carsten Thomsen
Enterprise Development with VS .NET, UML, AND MSF
http://www.apress.com/book/bookDisplay.html?bID=105
Communities - http://community.integratedsolutions.dk

"ds" <ma********@gmail.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
to ct

i check,the folder is empty.

ds

Sep 24 '05 #8
ds
ct
i checked in all folder.all the folders are empty.

ds

Sep 26 '05 #9
CT
Hmm... You obviously checked the folder on the machine on which the SMTP
service you're using is installed, right? Do you have any other SMTP server
in your organization, you can try and send to?

--
Carsten Thomsen
Enterprise Development with VS .NET, UML, AND MSF
http://www.apress.com/book/bookDisplay.html?bID=105
Communities - http://community.integratedsolutions.dk

"ds" <ma********@gmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
ct
i checked in all folder.all the folders are empty.

ds

Sep 26 '05 #10
ds
ct
i have checked with all server.it is not working.
ds

Sep 27 '05 #11
CT
Hmm, as far as I can tell, your code is fine, i.e. it works here, so given
the fact that you don't get an error when running the code, I'm convinced
that the problem is elsewhere. That's why I wanted you to check the folders,
which could indicate that a potential DNS or other network issues. However,
seeing as the messages are not in those folders, I'm somewhat unsure of what
to try next. What type of SMTP server are you submitting the messages to?
Have you tried the built-in SMTP server in Windows XP?

--
Carsten Thomsen
Enterprise Development with VS .NET, UML, AND MSF
http://www.apress.com/book/bookDisplay.html?bID=105
Communities - http://community.integratedsolutions.dk

"ds" <ma********@gmail.com> wrote in message
news:11********************@o13g2000cwo.googlegrou ps.com...
ct
i have checked with all server.it is not working.
ds

Sep 27 '05 #12

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

Similar topics

6
by: Mike the Canadian | last post by:
I am having a very strange problem sending email with php. I have two domains. I can send an email to one domain using php but not the other. If I put both email addresses in the mail command only...
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...
4
by: splicemix | last post by:
Hi all, I have recently set up a Drupal website. I am a beginner. My shared host server does not allow nobody@localhost to send emails, and prevents access to php.ini, so I spent some time...
4
by: k.visube | last post by:
In my ASP application,i need to send a formatted text mail (i.e with newline characters). here in my application i used a function in javascript which construts the mail body sample snippet ...
2
by: =?Utf-8?B?YmFyYnlxMTA=?= | last post by:
After sending mail, it leaves the outbox as normal and clears and hits the sent folder, but then I get a popup box that states EMAIL PROBLEM One or more e-mail messages cannot be sent. ...
9
by: sweatha | last post by:
Hi I have the normal server and not the SMTP service installed. I need to send a mail once if I click a button. Can anybody help me regarding that
6
by: cnsabar | last post by:
Hi., I am using following code to send sms through e-mail use Mail::Sendmail; %mail = (To => '10digitMobileNo@airtelkk.com', From => "mymail\@company.com", Message =>...
3
by: swethak | last post by:
Hi, i placed the php in windows server 2003 manually , set the path in Environmental variables , and place the php.ini file in windows. Now php works fine in my server sytem.When i write the...
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....
2
ThatThatGuy
by: ThatThatGuy | last post by:
Hello reader,, This might be a very simple question, but what to just say about it, i'm facing it Actually i'm developing a web App and i want email feature in that.... I'm sending mail from my...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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.