Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Attention Bob Flynn

Explorer ,
May 07, 2008 May 07, 2008

Copy link to clipboard

Copied

Mr. Flynn,
I am trying to use your form to email script from chapter 5. The code is just the same as the downloaded code but I am not getting it to work. Murrary pointed out an error and I fixed that but now I am getting a different error:

Cannot modify or delete an object that was added using the COM+ Admin SDK
acg/messageSent.asp, line 14

Line 14 is:

cdoMessage.Send

The entire ASP code is attached. I will appreciate your help as I really want to use this function in my scripts.

Thank you,
Charles
TOPICS
Server side applications

Views

399
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 12, 2008 May 12, 2008

Copy link to clipboard

Copied

Charles67,

Can you tell me about your development environment? Where are you running your code? Is it on a local development installation of IIS?

I googled your error and found indications that it could be something as simple as Yahoo not allowing you to use it as a mail relay form your server.

Other posts related to the error indicate possible issues with IIS. I'm afraid I can't be much help in either of those areas.

I believe the code itself to be valid. I'll be happy to post a correction if someone else can identify one.

Bob Flynn

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 14, 2008 May 14, 2008

Copy link to clipboard

Copied

Mr. Flynn,
I hope you are doing well. I am also having some issues getting the mail to send from MAMP server. I am using PHP. Since I am PHP dumb I am sure it is something I am doing 🙂 . I was following the example on page 144 in DWCS3 with ASP, Coldfusion, and PHP about editing the PHP.ini file and did not quite understand where my email information went. I pasted the information below. Any assistance can offer would be appreciated.

Thanks,

Jeremy Burchfield

[mail function]
; For Win32 only.
SMTP = smtp.gmail.com
smtp_port = 25

; For Win32 only.
;sendmail_from = localhost

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 19, 2008 May 19, 2008

Copy link to clipboard

Copied

LATEST
Hi Jeremy,

I don't think the problem is a PHP problem, though I could be wrong. My guess is that those are either not the correct parameters for connecting to Gmail. As stated in the note on p. 137, there are a lot of variables in how security is set up with different ISPs and email providers. It is beyond the scope of the book to go too far into that and you shouldn't worry too much about it in a local test install.

Having said that, if someone else on the list has set up a connection from their PHP install to send mail through their Gmail accounts, please chime in and educate us both.

I apologize that I do not have the time to look more deeply into this.

Regards,

Bob

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines