Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: formatting your code? using a domainname or name as a "from"???


Message #1 by "Eric Van Camp" <eric@a...> on Mon, 28 Jan 2002 18:39:38 +0100
This is a multi-part message in MIME format.



------=_NextPart_000_00A0_01C1A82B.23C30CD0

Content-Type: text/plain;

	charset="iso-8859-1"

Content-Transfer-Encoding: 7bit



i am using cdo to send mail, using the smtp service of iis 4.0...

so far so good, and i even send html-formatted mail...everything works

fine..only two questions remain:

1) my mail server is running on another machine and if i use :

objCDOMail.From = "viafoon", the mail message is dropped, because the mail

server does not recognise this mail address....(locally this works fine

because it does not pass the internet, if i use it for a domain not hosted

on my mailserver i get an error from my mail server, saying that he does

not recognise the address...) can this be solved with adding the address

something like objCDOMail.From "Viafoon(info@v...)" ???

2) As i send, my mailing application works fine, the only question

remaining is, why do i lose all intendation in my source code..If i send a

mail message, and i receive this in my outlook in html, if i then vieuw

the sourcecode all intendation is gone and everything is written on 1

(one) line! How can i avoid this?

If i receive html-formatted mails from others, the code is neat and

intendation of the code is there..so how do they do that???

Eric Van Camp

apeiron

Trolieberg 74

3010 Kessel-lo

t:016/35.69.99

f:016/35.57.90

mobile:0479/598.599











  Return to Index