catalyst2 community forums  

Go Back   catalyst2 community forums > Support > E-Mail Support

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 18-02-2006, 08:53 PM   #1 (permalink)
Registered User
 
Join Date: Feb 2006
Posts: 4
Generating email in a asp.net project

I've written this code:

Dim mailObj As New MailMessage

mailObj.From = Session(Constant_Table.user_email_session)
mailObj.To = Constant_Table.MAILORDER_from
mailObj.Subject = Constant_Table.MAILORDER_subject
mailObj.BodyFormat = MailFormat.Html
mailObj.Body = Invoice_details

SmtpMail.SmtpServer = "mail.catalyst2.com"
SmtpMail.Send(mailObj)

this is using mail.catalyst2.com mail server.... any ideas why it's not working?
twiggy2k is offline   Reply With Quote
Old 18-02-2006, 08:57 PM   #2 (permalink)
Administrator
 
Jacob's Avatar
 
Join Date: May 2003
Posts: 1,299
The From address must be an address where the mail account is on our mail server.

Regards,

Jacob
Jacob is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 09:19 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.