Jump to content

use Outlook Express (not visible)


Jack_10
 Share

Recommended Posts

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
Link to comment
Share on other sites

  • Developers

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 ?

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • Developers

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 ....

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • Developers

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?

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • Developers

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 .

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...