Jump to content
Sign in to follow this  
Jack_10

use Outlook Express (not visible)

Recommended Posts

Jack_10

hi

i use _INetMail function (cuz _INetSmtpMail didnt work - error code 51)

and i wanna that all was hide (like in excel - ExcelCom)

simple script i have seen at forum :

#include <INet.au3>

_INetMail( $s_MailTo, $s_MailSubject, $s_MailBody )

sleep(5000)

Send("!s")

thx for help

Edited by Jack_10

Share this post


Link to post
Share on other sites
Jos

hi

i use _INetMail function (cuz _INetSmtpMail didnt work - error code 51)

and i wanna that all was hide (like in excel - ExcelCom)

simple script i have seen at forum :

#include <INet.au3>

_INetMail( $s_MailTo, $s_MailSubject, $s_MailBody )

sleep(5000)

Send("!s")

thx for help

You need to use _INetSmtpMail() or _INetSmtpMailCom() if you want to batch email...

Maybe try solving the error in stead of finding an alternative ?


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Jack_10

You need to use _INetSmtpMail() or _INetSmtpMailCom() if you want to batch email...

Maybe try solving the error in stead of finding an alternative ?

ok so i have to try _INetSmtpMail() (cant find _INetSmtpMailCom() on help file)

possibly my email is at bad internet page ...

anyone can give me example what email will work with _INetSmtpMail() function and $s_SmtpServer

for it.

pls help

Edited by Jack_10

Share this post


Link to post
Share on other sites
Jos

ok so i have to try _INetSmtpMail() (cant find _INetSmtpMailCom() on help file)

possibly my email is at bad internet page ...

anyone can give me example what email will work with _INetSmtpMail() function and $s_SmtpServer

for it.

pls help

How about you post what you have ?

The _INetSmtpMailCom() is not part of the official release (yet) but can be found in the Scripts and Scraps forum. just search ....


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Jack_10

How about you post what you have ?

The _INetSmtpMailCom() is not part of the official release (yet) but can be found in the Scripts and Scraps forum. just search ....

i have regional small post (not so popular like gigant gmail etc)

link to my post :

www.o2.pl

and here is some code:

#include <INet.au3>

$s_SmtpServer = "poczta.o2.pl"

$s_FromName = "My Name"

$s_FromAddress = "yyyy@o2.pl"

$s_ToAddress = "xxxx@o2.pl"

$s_Subject = "My Test UDF"

Dim $as_Body[2]

$as_Body[0] = "Testing the new email udf"

$as_Body[1] = "Second Line"

$Response = _INetSmtpMail ($s_SmtpServer, $s_FromName, $s_FromAddress, $s_ToAddress, $s_Subject, $as_Body)

$err = @error

If $Response = 1 Then

MsgBox(0, "Success!", "Mail sent")

Else

MsgBox(0, "Error!", "Mail failed with error code " & $err)

EndIf

and sometimes i have error 51 and sometimes error 50

Edited by Jack_10

Share this post


Link to post
Share on other sites
Jos

i have regional small post (not so popular like gigant gmail etc)

link to my post :

www.o2.pl

and here is some code:

#include <INet.au3>

$s_SmtpServer = "poczta.o2.pl"

$s_FromName = "My Name"

$s_FromAddress = "yyyy@o2.pl"

$s_ToAddress = "xxxx@o2.pl"

$s_Subject = "My Test UDF"

Dim $as_Body[2]

$as_Body[0] = "Testing the new email udf"

$as_Body[1] = "Second Line"

$Response = _INetSmtpMail ($s_SmtpServer, $s_FromName, $s_FromAddress, $s_ToAddress, $s_Subject, $as_Body)

$err = @error

If $Response = 1 Then

MsgBox(0, "Success!", "Mail sent")

Else

MsgBox(0, "Error!", "Mail failed with error code " & $err)

EndIf

and sometimes i have error 51 and sometimes error 50

Can you sent a smtp message with outlook express to the server without any special settings in OE?

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Jack_10

Can you sent a smtp message with outlook express to the server without any special settings in OE?

i think yes ...

in outlook -> properties -> servers -> and left down corner i have had to click at check box (servers need "word i cant translate to english :P )

this need my post to work

i think easier will be just create new email on new post just need u opinion on which post is good for this.

and what is $s_SmtpServer at post u recomendate

Edited by Jack_10

Share this post


Link to post
Share on other sites
Jos

i think yes ...

in outlook -> properties -> servers -> and left down corner i have had to click at check box (servers need "word i cant translate to english :P )

this need my post to work

You mean: "My Server needs authentication" ?

This means you also need the Userid and Password to sent emails.

_INetSmtpMail() doesn't have that option , but _INetSmtpMailCom() can do that .


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Jack_10

You mean: "My Server needs authentication" ?

This means you also need the Userid and Password to sent emails.

_INetSmtpMail() doesn't have that option , but _INetSmtpMailCom() can do that .

yee

probably u right

but do u know any post which didnt need authentication ?

PS : now i use _INetSmtpMailCom() and is allright thx man !!!

Edited by Jack_10

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.