#89796 - 2003-02-04 06:55 PM
Re: Win32Admin.DLL updated
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
Ben, I have just sent email from KiXtart Win32Admin.dll to an habullock@comcast.net and to hbullock@tycoelectronics.com both have a FROM address populated in the email I received.
Could I see an example of your code?
|
|
Top
|
|
|
|
#89797 - 2003-02-04 07:13 PM
Re: Win32Admin.DLL updated
|
Bonji
Starting to like KiXtart
Registered: 2001-09-28
Posts: 169
Loc: Virginia
|
I tried sending you an email, but I get an error (Failed to properly send email! at Win3). It may have something to do with relay restrictions on our email server because I can send one to my address fine. Here's the code I'm using to test with...
code:
BREAK ON
$MAILHOST = "192.168.0.21" $MAILTO = "habullock@@comcast.net" $MAILFROM = "Ben@@Dulaneys.net" $MAILSUBJECT = "Test Msg" $MAILBODY = "Test"
$EMAIL = CREATEOBJECT("WIN32ADMIN") $ = $EMAIL.EMAIL($MAILHOST,$MAILTO,$MAILFROM,$MAILSUBJECT,$MAILBODY) ? @SERROR + " : " + @ERROR
Thanks again for your help on this.
-Ben http://www.rgcweb.org/kix
|
|
Top
|
|
|
|
#89798 - 2003-02-04 07:20 PM
Re: Win32Admin.DLL updated
|
Bonji
Starting to like KiXtart
Registered: 2001-09-28
Posts: 169
Loc: Virginia
|
Interesting...I sent an email to my address and it went through fine and the display name came up also (however it was listed as www.dulaneys.net@brnp.com instead of Ben@Dulaneys.net). Upon opening the email the from field said: Ben@Dulaneys.net on behalf of www.dulaneys.net@brnp.com I sent it to Ben@Dulaneys.net and used the from address of Ben@Dulaneys.net.
My guess is I'm not getting the From field populated on my email listing when I send an email to an account on that server because it is local to me. It may require an extra 'From:' field that Lonkero had in his code??
-Ben http://www.rgcweb.org/kix [ 04. February 2003, 19:32: Message edited by: Ben Dulaney ]
|
|
Top
|
|
|
|
#89799 - 2003-02-04 07:32 PM
Re: Win32Admin.DLL updated
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
At our company we have a generic SMTP mail server that handles ALL the SMTP mail to UNIX and the internet. If you have such a beast in your architecture, try using it as your mailhost.
I will investigate a little further on my side...
|
|
Top
|
|
|
|
#89800 - 2003-02-04 07:35 PM
Re: Win32Admin.DLL updated
|
Bonji
Starting to like KiXtart
Registered: 2001-09-28
Posts: 169
Loc: Virginia
|
Unfortunately we only have our Exchange server to use for this. I'll see if I can work out any alternatives.
-Ben http://www.rgcweb.org/kix
|
|
Top
|
|
|
|
#89801 - 2003-02-04 07:44 PM
Re: Win32Admin.DLL updated
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
There may be some configuration issue with you SMTP service on your exchange server. I just sent email using my exchange 5.5 server and everything worked as expected. [ 04. February 2003, 20:51: Message edited by: Howard Bullock ]
|
|
Top
|
|
|
|
Moderator: Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart
|
0 registered
and 657 anonymous users online.
|
|
|