Commit Graph

66 Commits

Author SHA1 Message Date
mscott%netscape.com
7044f74c40 Bug #28984 --> add a getter & setter for recipients. The recipients are now stored as a field in the smtp url
instead of as part of the url spec.
r=sspitzer
a=phil


git-svn-id: svn://10.0.0.236/trunk@61944 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-01 03:08:05 +00:00
mscott%netscape.com
817f77a55b Bug #23788 --> implement logon redirection support for smtp.
r=bienvenu
a=phil


git-svn-id: svn://10.0.0.236/trunk@61760 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-27 09:04:44 +00:00
jefft%netscape.com
376650557e fix wensleydale build bustage; stupid type casting; r=bienvenu
git-svn-id: svn://10.0.0.236/trunk@61134 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 16:42:11 +00:00
alecf%netscape.com
4e55e3a778 fix some bad warnings
git-svn-id: svn://10.0.0.236/trunk@61092 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 06:30:03 +00:00
jefft%netscape.com
226cf13909 fixed bug 18565 -- [PDT+] Single sign-on for SMTP; implemented auth login for smtp; added smtp logging; lay ground work for tls smtp; r=alecf,bienvenu,ducarroz
git-svn-id: svn://10.0.0.236/trunk@61081 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 05:59:51 +00:00
mkaply%us.ibm.com
ba1d030d12 # 25555
r= mscott@netscape.com
OS/2 changes for Mozilla


git-svn-id: svn://10.0.0.236/trunk@60886 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 15:29:20 +00:00
sford3%swbell.net
09c9265da7 Replace instances of nsTextFormater with nsTextFormatter, r=jst@citec.fi
git-svn-id: svn://10.0.0.236/trunk@58041 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 22:32:13 +00:00
mscott%netscape.com
a016f03236 Bug #23351 --> patch from bns_robson@hotmail.com to fix
problem where we weren't pausing for more data if the server hadn't sent
the response back.
r=mscott


git-svn-id: svn://10.0.0.236/trunk@57427 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 21:06:36 +00:00
mscott%netscape.com
4d1b10be31 performance tweak --> header parser is supposed to be a service not a component.
r=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@57237 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-09 21:57:21 +00:00
ducarroz%netscape.com
b60563f9ec Fix for bug 19404. We need to return an error code when the SMTP server name is missing. R=mscott
git-svn-id: svn://10.0.0.236/trunk@54216 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-22 23:48:42 +00:00
jefft%netscape.com
1d825e8ba7 fixed bug 8889 - cannot post messages with attachments to the news server; rv=mscott; Added base PostMessage() method to remove duplicate code in smtp and nntp protocol
git-svn-id: svn://10.0.0.236/trunk@54145 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-22 14:41:20 +00:00
cls%seawood.org
3eb07b84ae Removing dependency upon security/freenav module. r=alecf
git-svn-id: svn://10.0.0.236/trunk@53438 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 23:51:49 +00:00
sspitzer%netscape.com
6342265a22 fix for the regression I introduced. when we send the 'MAIL FROM:' command to the SMTP server, we want to send it 'MAIL FROM: <sender>', not 'MAIL FROM: <Foo Bar <fbar@xyz.com>>'. my SMTP server allowed 'MAIL FROM: <Seth Spitzer <sspitzer@netscape.com>>' which is why I didn't catch this.
git-svn-id: svn://10.0.0.236/trunk@53007 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-09 19:25:39 +00:00
sspitzer%netscape.com
5839aa32bc fix for #17956 and #18084.
#17956 is reply fails if message in local mail folder

fix (by ducarroz) is to remove the temporary code.

#18084 is sending email fails in certain cases

the problem is we were sending the wrong info to the SMTP server.
when we sent "MAIL FROM: <address>" to the SMTP server we sent
the smtp username and not the full name built from the identity.
most of the changes are to support passing the identity around.
I also added code so that the smtp username is used on the mailto url spec.
we'll need that later, when we support multiple smtp servers and ESMTP.

r=alecf

a=chofmann


git-svn-id: svn://10.0.0.236/trunk@52980 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-09 02:04:06 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
sspitzer%netscape.com
baa984b1b1 fix #16457, r=mscott. if an error occurs in the SMTP protocol state machine, we may need to pop up the alert right then, and not when we get back to the url listener, because we'd loose the error text from the SMTP server. these changes
pop up the alert and set the error code so that the url listener doesn't try to
pop up another alert.  define a bunch of new error codes, and remove nsMsgTransition.h, which was defining all the MK_ error codes that were in there.
are no longer needed.


git-svn-id: svn://10.0.0.236/trunk@52602 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:27:46 +00:00
warren%netscape.com
fe1c294273 Added nsIChannel::GetOriginalURI so that we can get back to the original chrome file (bug#17144). r=rpotts,mscott
git-svn-id: svn://10.0.0.236/trunk@51839 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 09:16:24 +00:00
mscott%netscape.com
152c964a75 Bug #14072 --> throw up a dialog if the user tries to send a message
without providing a host name (i.e. they haven't set up there prefs right)


git-svn-id: svn://10.0.0.236/trunk@48853 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 08:25:58 +00:00
mscott%netscape.com
97c79762b3 Add some basic status messages for sending a message.
git-svn-id: svn://10.0.0.236/trunk@48742 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 02:28:36 +00:00
mscott%netscape.com
d12c5346fe Bug #14500 --> allow user to send a message if they don't have a user name and aren't using authenticated smtp.
add a ptr for command status


git-svn-id: svn://10.0.0.236/trunk@48689 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 00:42:34 +00:00
warren%netscape.com
de60d2685c Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked.
git-svn-id: svn://10.0.0.236/trunk@46637 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 22:05:05 +00:00
alecf%netscape.com
acf0d5dba9 fix some warnings and comments
git-svn-id: svn://10.0.0.236/trunk@46289 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 03:44:11 +00:00
alecf%netscape.com
48c230a041 fix unused variable
git-svn-id: svn://10.0.0.236/trunk@45309 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 06:29:53 +00:00
mscott%netscape.com
bb83fe7445 Bug #7811 --> turn nsISmtpUrl.h into a fully scriptable IDL file. This involved changing several apis in the interface.
git-svn-id: svn://10.0.0.236/trunk@44378 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 22:15:52 +00:00
jefft%netscape.com
ab909dcc23 fix bug 6216 -- SMPT send removes CRLF lines; a=cyeh, r=rhp; tested on Windows & Mac
git-svn-id: svn://10.0.0.236/trunk@43259 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-12 22:07:51 +00:00
mscott%netscape.com
e79f5b04d4 nsString(eOneByte) --> nsCString nsString(eTwoByte) --> nsString, nsString2 --> nsString changes
some interface clean up work before adding GetServer to url interface.


git-svn-id: svn://10.0.0.236/trunk@42975 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 18:14:08 +00:00
mscott%netscape.com
122791d665 fix linux warning.
git-svn-id: svn://10.0.0.236/trunk@42187 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 20:32:33 +00:00
mscott%netscape.com
9036304d71 Fix for Bug #8718. Fix problem where we failed to send messages which had a line greater than 2K.
git-svn-id: svn://10.0.0.236/trunk@41876 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-02 23:40:06 +00:00
mscott%netscape.com
e842ae2afa Landing the MailNews_Necko_BRANCH. These are the changes that will enable mailnews to run with necko.
git-svn-id: svn://10.0.0.236/trunk@41503 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-29 00:42:25 +00:00
rhp%netscape.com
a3d8b8050d Changes for sending multipart/related messages
git-svn-id: svn://10.0.0.236/trunk@40465 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 20:17:07 +00:00
rhp%netscape.com
339b82955b Compose back end cleanup
git-svn-id: svn://10.0.0.236/trunk@39073 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-13 18:38:36 +00:00
warren%netscape.com
8b1231e0ae Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport.
git-svn-id: svn://10.0.0.236/trunk@37754 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 19:30:20 +00:00
putterman%netscape.com
2c5afbbd59 Use nsCOMTypeInfo
git-svn-id: svn://10.0.0.236/trunk@37592 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 00:16:39 +00:00
warren%netscape.com
06d707be48 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
git-svn-id: svn://10.0.0.236/trunk@36440 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:29:44 +00:00
mscott%netscape.com
09e004b62f Because of my over-haul for mailnews urls, we now need to be more explicit about the url interfac
we are calling the method on (nsIURL, nsISmtpUrl, nsIMsgMailNewsUrl, etc).


git-svn-id: svn://10.0.0.236/trunk@36139 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 23:18:45 +00:00
mscott%netscape.com
488588081e Don't attempt to read from the file we are sending unless the file stream is in fact open.
git-svn-id: svn://10.0.0.236/trunk@35617 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 02:19:49 +00:00
mscott%netscape.com
f042904d94 Unification of LoadUrl signature to remove some warnings on Linux & Mac. LoadUrl signature takes a display consumer.
git-svn-id: svn://10.0.0.236/trunk@34128 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 00:01:54 +00:00
mscott%netscape.com
9ff5f77871 Major revamping of the smtp protocol. The main changes were to use my new nsMsgProtocol base class for most of the core netlib interaction. While i was here, I also fixed a leak where we weren't closing the file stream for the message we were sending. Fixed a leak that was preventing the smtp protocol instance from getting released & destroyed.
Also rewrote the protocol state methods to use nsAutoString instead of allocating buffers for the protocol commands.


git-svn-id: svn://10.0.0.236/trunk@33922 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 20:28:21 +00:00
mscott%netscape.com
ce7f3e87d3 fix for bug #6219 -- send data every 2K so we don't fill up our internal buffer when sending a message.
git-svn-id: svn://10.0.0.236/trunk@32083 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:25:55 +00:00
sspitzer%netscape.com
454553725b comment the endifs
git-svn-id: svn://10.0.0.236/trunk@31989 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 00:21:37 +00:00
mscott%netscape.com
e03df586fd Fix Bug #6216 --> when sending messages with blank lines, we were eating up the line returns.
git-svn-id: svn://10.0.0.236/trunk@31930 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:23:11 +00:00
sspitzer%netscape.com
92217914e6 comment out unused variable
git-svn-id: svn://10.0.0.236/trunk@31825 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 04:15:19 +00:00
mscott%netscape.com
c5c4830afe fix shadowed variable
git-svn-id: svn://10.0.0.236/trunk@31492 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:00:28 +00:00
mscott%netscape.com
12ce9170bf part of mailnews audit --> Conversion to NS_WITH_SERVICE
part of mailnews audit --> use nsCOMPtr.


git-svn-id: svn://10.0.0.236/trunk@30196 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:51:30 +00:00
mscott%netscape.com
78ee15ae06 Added comment about why return receipts are turned off.
git-svn-id: svn://10.0.0.236/trunk@29361 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 03:02:57 +00:00
mscott%netscape.com
ddde6f9538 Turn return receipts off by default. This fixes bug #5011
git-svn-id: svn://10.0.0.236/trunk@29258 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 22:34:15 +00:00
rhp%netscape.com
cb154da742 Moving header parser interface
git-svn-id: svn://10.0.0.236/trunk@27871 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 19:02:22 +00:00
nhotta%netscape.com
3c7d273ff0 nsIMsgRFC822Parser and related changes, removed old i18n functions, instead passing charset name.
git-svn-id: svn://10.0.0.236/trunk@27350 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 19:18:22 +00:00
mscott%netscape.com
ccbdecbed8 Part of my mailnews reduce disk footprint cleanup effort. Don't include xp.h. Replace StrAllocCat and StrAllocCopy. extern int's we used to get from allxpstr, we'll get from msgCompglue.h
git-svn-id: svn://10.0.0.236/trunk@26245 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 22:34:46 +00:00
ducarroz%netscape.com
c4bcd6fa18 part of messenger Mac landing
git-svn-id: svn://10.0.0.236/trunk@25924 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 21:41:22 +00:00