Page 1 of 1

Problem send mail ????

Posted: Wed Jul 01, 2009 9:52 pm
by mohamed
i need to send backup mail im working @ mikrotik v3.13 i tray


/ tool e-mail
set server=1.2.3.4 from="SomeSystemName@somewhere.tld"


1234=my smtp

SomeSystemName@somewhere.tld = my mail

and

/ system script add name="backup_mail" source="/system backup save name=email_backup \n/tool e-mail send
file=email_backup.backup to=\" SomeSystemName@somewhere.tld\" body=\"See \attached file for System Backup\" subject=([/system iden
tity get name] \ . \" \" . [/system clock get time] . \" \" . [/system clock get date] . \" Backup\")\n"


but its not working
so i tray thes Simple
/ tool e-mail
set server=1.2.3.4 from="SomeSystemName@somewhere.tld"
/tool e-mail send file=1.doc to=" SomeSystemName@somewhere.tld"
1234=my smtp

SomeSystemName@somewhere.tld = my mail

1.doc=file on my ftp
but its not working
can any one help me

Re: Problem send mail ????

Posted: Thu Jul 02, 2009 10:42 am
by fosben
do your email server require smtp login ? in that case you need to upgrade your ros...

similar problem here :

http://forum.mikrotik.com/viewtopic.php?f=9&t=32814

Re: Problem send mail ????

Posted: Fri Jul 03, 2009 8:00 pm
by mohamed
do your email server require smtp login ? in that case you need to upgrade your ros...

similar problem here :

http://forum.mikrotik.com/viewtopic.php?f=9&t=32814
thanks alot Mr.Fosben


i give this script to my frind but never work ! he use 3.13

that version not have user or password in email window.

is that the cause ?

any solution for old versions .

thanks very much once again.

regard
i have 3.13

i put

add action=masquerade chain=srcnat comment="email test" disabled=no dst-port=25 protocol=tcp src-address="192.168.0.10"

192.168.0.10 = my lan interfes ip

and

if i tray

/tool e-mail send to=" myhotmail@hotmail.com" from="mezo_dsl@hotmail.com" server=212.103.160.58 subject="testing" body="testing testing" file=1.doc

212.103.160.58=smtp.tedata.net.eg

1.doc=file on my ftp

its give me

system error invalid body




and if i tray

/tool e-mail send to="myhotmail@hotmail.com" subject="testing2" body="testing testing2" server="212.103.160.58" file="1.doc"

212.103.160.58=smtp.tedata.net.eg

1.doc=file on my ftp


nothing happen


i have mikrotik v 3.13

i need any solution for that thing...

Re: Problem send mail ????

Posted: Wed Jul 08, 2009 10:19 am
by mohamed
up for help?????

Re: Problem send mail ????

Posted: Thu Jul 09, 2009 2:37 pm
by janisk
please see topic in linked second post:
do your email server require smtp login ? in that case you need to upgrade your ros...

similar problem here :

http://forum.mikrotik.com/viewtopic.php?f=9&t=32814