Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

Question

Problem with IndigoMail

Nov 5, 2013 2:38AM PST

Hi,
i Have installed indigo mail program on my machine for sending email as a advice from this forum. When i doing a test:
[Code]
C:\sendmail>perl smtest.pl
Content-type: text/html

<pre>
Testing SendMail for Windows on Tue Nov 5 22:31:11 2013

Sendmail path = sendmail.exe
Sendmail found: YES
Sendmail INI path = sendmail.ini
Sendmail INI found: YES
Sendmail LOG path = sendmail.log
Sendmail LOG found: YES
Log file is writeable: YES

Current directory = C:\sendmail
Can write to current directory: YES
TEMP directory = C:\Users\HP\AppData\Local\Temp
Can write to TEMP directory: YES
WINDIR directory = C:\Windows
Can write to WINDIR directory: NO

csript.exe path = C:\Windows\system32\cscript.exe
csript.exe found: YES
adsutil.vbs path = C:\Windows\system32\inetsrv\adminsamples\adsutil.vbs
adsutil.vbs found: NO
IO redirection test result = NOT TESTED
<hr>
Test email address = yourname@yourhost.com
Sendmail test 1. Command = 'sendmail.exe -test -console'

Sendmail for Windows V3.11 at Tue Nov 5 22:31:11 2013

Sendmail for Windows V3.11 at Tue Nov 5 22:31:11 2013
Machine name: HP-PC [119.154.245.226]
Machine name: HP-PC [119.154.245.226]

Sending test message

Sending test message

CURRENT CONFIGURATION

CURRENT CONFIGURATION
[OPTIONS]
;Mail servers host name
MAILSERVER=mail.yourhost.com
;Default value for senders email address
FROM=yourname@yourhost.com
;Default value for reply-to address
REPLYTO=
;Registration key
REGKEY=none
;Authenticate to SMTP sever (yes=y)
AUTHENTICATE=n
;User name for authentication
USERNAME=
;password for authentication
PASSWORD=

[OPTIONS]
;Mail servers host name
MAILSERVER=mail.yourhost.com
;Default value for senders email address
FROM=yourname@yourhost.com
;Default value for reply-to address
REPLYTO=
;Registration key
REGKEY=none
;Authenticate to SMTP sever (yes=y)
AUTHENTICATE=n
;User name for authentication
USERNAME=
;password for authentication
PASSWORD=

This is a 30 day trial version of SendMail for Windows
This is a 30 day trial version of SendMail for Windows
Warning: DuSetReg
Warning: DuSetReg
This copy of sendmail will expire on Thu Dec 5 22:31:11 2013
This copy of sendmail will expire on Thu Dec 5 22:31:11 2013
For more details visit www.indigostar.com

For more details visit www.indigostar.com

Error: mail server not specified, check sendmail.ini
Error: mail server not specified, check sendmail.ini
<hr>
Sendmail test 2. Command = 'sendmail.exe -console -t -messagefile=C:\sendmail/te
mp.msg'

Sendmail for Windows V3.11 at Tue Nov 5 22:31:11 2013

Sendmail for Windows V3.11 at Tue Nov 5 22:31:11 2013
Machine name: HP-PC [119.154.245.226]
Machine name: HP-PC [119.154.245.226]
This is a 30 day trial version of SendMail for Windows
This is a 30 day trial version of SendMail for Windows
Warning: DuSetReg
Warning: DuSetReg
This copy of sendmail will expire on Thu Dec 5 22:31:11 2013
This copy of sendmail will expire on Thu Dec 5 22:31:11 2013
For more details visit www.indigostar.com

For more details visit www.indigostar.com

Error: mail server not specified, check sendmail.ini
Error: mail server not specified, check sendmail.ini
<hr>
Sendmail test 3. Command = '|sendmail.exe -t -console'

Sendmail for Windows V3.11 at Tue Nov 5 22:31:11 2013

Sendmail for Windows V3.11 at Tue Nov 5 22:31:11 2013
Machine name: HP-PC [119.154.245.226]
Machine name: HP-PC [119.154.245.226]
This is a 30 day trial version of SendMail for Windows
This is a 30 day trial version of SendMail for Windows
Warning: DuSetReg
Warning: DuSetReg
This copy of sendmail will expire on Thu Dec 5 22:31:11 2013
This copy of sendmail will expire on Thu Dec 5 22:31:11 2013
For more details visit www.indigostar.com

For more details visit www.indigostar.com

Error: mail server not specified, check sendmail.ini
Error: mail server not specified, check sendmail.ini
<hr>

C:\sendmail>

[/code]

I am getting following errors:
Error: mail server not specified, check sendmail.ini
Error: mail server not specified, check sendmail.ini

Can somebody plz guide me. The configuration file is:
[OPTIONS]
;Mail servers host name
MAILSERVER=mail.yourhost.com
;Default value for senders email address
FROM=yourname@yourhost.com
;Default value for reply-to address
REPLYTO=
;Registration key
REGKEY=none
;Authenticate to SMTP sever (yes=y)
AUTHENTICATE=n
;User name for authentication
USERNAME=
;password for authentication
PASSWORD=

Somebody plz guide me in this regard. I have got activeperl and i have windows7.

Zulfi.

Discussion is locked

- Collapse -
Answer
Test email address = yourname@yourhost.com
Nov 5, 2013 2:43AM PST

The addresses of the email servers and such look to be incorrect. As this is pretty technical, I'm a little take aback you didn't change those to a valid server.
Bob

- Collapse -
Problem with IndigoMail
Nov 6, 2013 12:47AM PST

Hi,
Thanks. I still dont know how to spec ify the email server. Some body plz guide me.

Zulfi.

- Collapse -
No one can know that!
Nov 6, 2013 12:53AM PST

My email server can't be your server. This is something you must know since everyone has their own service.

Do you have a programmer you can sit down and have them explain this? It won't fit in this small space but at least you know why it didn't work.
Bob

- Collapse -
Problem with IndigoMail
Nov 7, 2013 12:40AM PST

Hi,
Thanks for replying again. I have found it wont work. I have tried using gmail smtp. They say this program doesnt support gmail. I have tried my ptcl isp's smtp also but its also not working. Is there any another program which can help me to send email compliant with perl and supporting gmail?? I have windows 7 , active perl and i5 machine.

Zulfi.

- Collapse -
Sorry but I can't know that either.
Nov 7, 2013 12:45AM PST

Your ISP's email is not my ISP's email is not Gmail and so on.

However I see you have learned more and maybe it's back to doing more research on google (I don't do that for folk as they have been getting upset when you google it for them!) by trying phrases or a question like this.

-> How do I send email via perl using gmail.com?

Bob

- Collapse -
Problem with IndigoMail
Nov 7, 2013 1:25AM PST

I have tried and my next problem is related to that.

Zulfi.

- Collapse -
Read that
Nov 7, 2013 1:44AM PST

But it looks like you only tried one script. I see about a dozen scripts out there in the less than 20 line variety.
Bob

- Collapse -
Not working solution
Nov 8, 2013 1:23PM PST

I have checked majority of those solutions. I am doing this for last one week. None of the solutions are working. However i am putting a link to a working solution which i got :
Hi,

Finally I got help. I am able to send email through gmail smtp. I am putting the link
http://perlguru.com/gforum.cgi?post=...=unread#unread

Zulfi.