473,387 Members | 1,700 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.

system.net.mail - fully qualified hostname required

Trying to send an email message in my vb.net app through my own smtp
server using system.net.mail throws the following exception:

<hooligan>: Helo command rejected: need fully-qualified hostname

I run a Postfix server with lots of UCE controls turned on, so I
understand what it wants, I just don't understand why the framework is
not supplying the FQDN for my local computer. I don't see any property
on either the MailMessage or SmtpClient objects that let me force this,
nor can I seem to locate any tips online.

Is there a secret that I'm missing?

Sean
Apr 3 '06 #1
1 3465
What is your SMTP server set to?
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"Sean Kirkpatrick" <na**********@community.nospam> wrote in message
news:ei**************@tk2msftngp13.phx.gbl...
Trying to send an email message in my vb.net app through my own smtp
server using system.net.mail throws the following exception:

<hooligan>: Helo command rejected: need fully-qualified hostname

I run a Postfix server with lots of UCE controls turned on, so I
understand what it wants, I just don't understand why the framework is not
supplying the FQDN for my local computer. I don't see any property on
either the MailMessage or SmtpClient objects that let me force this, nor
can I seem to locate any tips online.

Is there a secret that I'm missing?

Sean

Apr 4 '06 #2

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

Similar topics

6
by: Martin | last post by:
Hi, I have a xml file like the one below <?xml version="1.0" encoding="utf-8"?><e1 xmlns:e1="http://tempuri.org/Source1.xsd" e1:att1="1" e1:att2="2" e1:rest="345"/> If I try to create a...
4
by: Aashish Patil | last post by:
Hello, Is it possible to obtain the fully qualified name of a class in c#. What I am looking for is something analogous to Box.class.getName() that exists in Java. Its possible to get this by...
5
by: martin | last post by:
Hi, I have created a class that is totally seperate from my web application. However this class is used extensivly by the web application for stuff like data access. I wish to add a function to...
10
by: tshad | last post by:
I have a problem setting the background color of textbox on the fly. I tried using: applicantID.backcolor = "F6F6F6" and applicantID.backcolor = "#F6F6F6"
12
by: Ricky | last post by:
I am using the System.web.mail component in my application being developed in VB.NET 1) Does sending email using System.web.mail work/run only on WinNT,2000 and XP Operating systems. 2) Does...
4
by: Jason Zhang | last post by:
Hi all, I have installed VS.net 2003 fully. When I create a C# project and write a line:using System.Web.Mail; the IDE complain that the namespace Mail does'nt exist in System.Web. Why it...
12
by: Keith Patrick | last post by:
Can someone tell me the difference in terms of actual implications using: namespace MyNamespace { using System; class MyClass {...} } vs. using System;
0
by: Neo Geshel | last post by:
I am experiencing an inconsistency with System.Net.Mail. I have a web form on a site. The form gets filled, and one copy gets sent to the recipient (info@domain.com). This works just fine. ...
4
by: Vivek | last post by:
Hi, Generally we work with the 2 part qualified table names in db2 i.e. <schema>. <table name> Is there a more fully qualified table name ? I've seen that a select from <database...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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:
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?
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
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.