View Full Version : How can i use Control Panel API to send an email??
jackbee
01-08-2007, 02:17 AM
I want to send an email by using Control Panel API , how can i do that, please help me ??
Thnks
The API cannot be used to send an email. It can be used to create/modify/manage your email addresses.
Eric
DiscountASP.NET
http://www.DiscountASP.NET
jackbee
01-08-2007, 02:45 AM
I user System.Net.Mail.SmtpClient to send an email , but it does not work , it always occur error 'Unable to connect to the remote server' ??? ,
I have create a new Account and point it to Credentials = new System.Net.NetworkCredential('admin@xxx.com', 'something');
But can not still send an email!!!! (I configure Outlook Express like the way i did in code and it work correctly!!!) , how can i fix it , please help me ?? /emoticons/confused.gif
Your issue has nothing to do with the API.
Have you set the SMTP host to "localhost"?
Eric
DiscountASP.NET
http://www.DiscountASP.NET
vBulletin® ©Jelsoft Enterprises Ltd.