Community discussions

MikroTik App
 
User avatar
jahidhk
just joined
Topic Author
Posts: 9
Joined: Sat Feb 26, 2011 9:15 pm

please help!! Gmail mailing config

Sun Sep 25, 2011 7:12 pm

this is my config in 3.30
/tool e-mail
set from="<Gateway>" password=xxxxxxxxx server=74.125.43.109:587 \
username=xxxxxx@gmail.com
/system script
add name=dailybackup policy=\
ftp,reboot,read,write,policy,test,winbox,password,sensitive source="/expor\
t file=([/system identity get name] . \"-\" . \\\r\
\n[:pick [/system clock get date] 7 11] . [:pick [/system clock get date] \
0 3] . [:pick [/system clock get date] 4 6]);"
add name=dailymail policy=\
ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="\
/tool e-mail send to=xxxx.xx@gmail.com subject=\"\$[/system identity get \
name] backup\" body=\"\$[/system clock get date] \$[/system clock get time\
] configuration file\" file=([/system identity get name] . \"-\" . [:pick \
[/system clock get date] 7 11] . \\\r\
\n[:pick [/system clock get date] 0 3] . [:pick [/system clock get date] 4\
\_6] . \".rsc\");"

but i cant run this in MT 4.17
& the error message is - Error sending email: invalid FROM address
 
User avatar
petrn
Member Candidate
Member Candidate
Posts: 180
Joined: Thu Jul 29, 2010 3:56 am
Location: Dubai

Re: please help!! Gmail mailing config

Sun Sep 25, 2011 10:11 pm

try
/tool e-mail set from="\"<Gateway>\" <xxxxxx@gmail.com>"
 
User avatar
jahidhk
just joined
Topic Author
Posts: 9
Joined: Sat Feb 26, 2011 9:15 pm

Re: please help!! Gmail mailing config

Tue Sep 27, 2011 9:39 pm

try
/tool e-mail set from="\"<Gateway>\" <xxxxxx@gmail.com>"

same message
error message is - Error sending email: invalid FROM address
 
Anthonymo
newbie
Posts: 33
Joined: Mon Jun 20, 2011 2:53 am

Re: please help!! Gmail mailing config

Fri Sep 30, 2011 2:16 pm

From needs to be full email address not just your gateways name.

Try foo@your domain.com

Who is online

Users browsing this forum: complexxL9, panzermaster18 and 196 guests