Not able to send email message from ASP using MAPI

Results 1 to 2 of 2

Thread: Not able to send email message from ASP using MAPI

  1. #1
    Laxmi M Guest

    Default Not able to send email message from ASP using MAPI

    HEllo I am not able to send a email message from ASP. I used the MAPI session object to do this. I was able to send an email from <BR>Visual Basic using the same MAPI.session object.<BR><BR>What I basically did was created a mapi.session object and used that to logon and opened sent a message using the outbox.<BR>While debugging I saw that the the outbox, message objects etc were empty.<BR><BR>Can anyone please help?<BR><BR>Thanks in advance<BR>laxmi<BR><BR><BR><BR>

  2. #2
    Ojasvi Guest

    Default RE: Not able to send email message from ASP using MAPI

    Instead use CDONTS for sending mails directly from ASPs. <BR><BR>objmail=server.createobject("CDONTS.Newmai l")<BR><BR>Then you can set following properties :<BR>objmail.from<BR>objmail.to<BR>objmail.cc<BR>o bjmail.subject<BR>objmail.body<BR><BR>etc..<BR><BR >And in the end write:<BR>objmail.send<BR><BR><BR><BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •